refactor: expose the Database property on Model as readonly public (#29)

Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/29
This commit is contained in:
Victor Westerlund 2026-02-22 14:41:22 +01:00
parent fd0c8cbbcd
commit 2d55d954a1

View file

@ -15,7 +15,8 @@
abstract public int|string $id { get; } abstract public int|string $id { get; }
protected readonly Database $db; public readonly Database $db;
private bool $_resolved = false; private bool $_resolved = false;
private bool $_isset; private bool $_isset;
private ?array $_row; private ?array $_row;