mirror of
https://github.com/standardebooks/web.git
synced 2025-07-09 16:20:27 -04:00
Add PropertyFromHttp trait and update codebase to use new pattern
This commit is contained in:
parent
c35c47b793
commit
acb30b897c
47 changed files with 851 additions and 527 deletions
|
@ -7,14 +7,15 @@ use Safe\DateTimeImmutable;
|
|||
class Patron{
|
||||
use Traits\Accessor;
|
||||
|
||||
public ?int $UserId = null;
|
||||
public int $UserId;
|
||||
public bool $IsAnonymous;
|
||||
public ?string $AlternateName = null;
|
||||
public bool $IsSubscribedToEmails;
|
||||
public ?DateTimeImmutable $Created = null;
|
||||
public DateTimeImmutable $Created;
|
||||
public ?DateTimeImmutable $Ended = null;
|
||||
|
||||
protected ?User $_User = null;
|
||||
protected User $_User;
|
||||
|
||||
|
||||
// *******
|
||||
// METHODS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue