mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Change Accessor from class to trait
This commit is contained in:
parent
10bea9ad9e
commit
41dd9db4aa
13 changed files with 43 additions and 24 deletions
|
@ -8,7 +8,9 @@ use function Safe\strtotime;
|
|||
* @property User $User
|
||||
* @property string $Url
|
||||
*/
|
||||
class Session extends Accessor{
|
||||
class Session{
|
||||
use Traits\Accessor;
|
||||
|
||||
public int $UserId;
|
||||
protected ?User $_User = null;
|
||||
public DateTimeImmutable $Created;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue