mirror of
https://codeberg.org/vlw/scaffold.git
synced 2026-02-26 03:21:57 +01:00
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:
parent
fd0c8cbbcd
commit
2d55d954a1
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue