Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\DomainObjects;
use Illuminate\Support\Collection;
class UserDomainObject extends Generated\UserDomainObjectAbstract
{
public ?Collection $accounts = null;
public ?AccountUserDomainObject $currentAccountUser = null;
public function getFullName(): string
{
return $this->getFirstName().' '.$this->getLastName();
}
public function setPendingEmail(?string $pending_email): Generated\UserDomainObjectAbstract
{
return parent::setPendingEmail($pending_email === null ? null : strtolower($pending_email));
}
public function setEmail(string $email): Generated\UserDomainObjectAbstract
{
return parent::setEmail(strtolower($email));
}
/**
* @return Collection<AccountDomainObject>|null
*/
public function getAccounts(): ?Collection
{
return $this->accounts;
}
public function setAccounts(?Collection $accounts): static
{
$this->accounts = $accounts;
return $this;
}
public function getCurrentAccountUser(): ?AccountUserDomainObject
{
return $this->currentAccountUser;
}
public function setCurrentAccountUser(?AccountUserDomainObject $currentAccountUser): static
{
$this->currentAccountUser = $currentAccountUser;
return $this;
}
}