Change Accessor from class to trait

This commit is contained in:
Alex Cabal 2024-05-04 13:07:03 -05:00
parent 10bea9ad9e
commit 41dd9db4aa
13 changed files with 43 additions and 24 deletions

View file

@ -5,7 +5,9 @@ use Safe\DateTimeImmutable;
* @property User $User
* @property string $Url
*/
class NewsletterSubscription extends Accessor{
class NewsletterSubscription{
use Traits\Accessor;
public bool $IsConfirmed = false;
public bool $IsSubscribedToSummary = false;
public bool $IsSubscribedToNewsletter = false;