<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class User extends \App\Entity\User implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\User' . "\0" . 'id', '' . "\0" . 'App\\Entity\\User' . "\0" . 'version', 'image', 'imageFile', '' . "\0" . 'App\\Entity\\User' . "\0" . 'media', '' . "\0" . 'App\\Entity\\User' . "\0" . 'username', '' . "\0" . 'App\\Entity\\User' . "\0" . 'password', '' . "\0" . 'App\\Entity\\User' . "\0" . 'email', '' . "\0" . 'App\\Entity\\User' . "\0" . 'firstname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'lastname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'displayname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'role', '' . "\0" . 'App\\Entity\\User' . "\0" . 'type', '' . "\0" . 'App\\Entity\\User' . "\0" . 'status', '' . "\0" . 'App\\Entity\\User' . "\0" . 'member', '' . "\0" . 'App\\Entity\\User' . "\0" . 'member_expires', '' . "\0" . 'App\\Entity\\User' . "\0" . 'usermeta', '' . "\0" . 'App\\Entity\\User' . "\0" . 'content', '' . "\0" . 'App\\Entity\\User' . "\0" . 'quizzes', '' . "\0" . 'App\\Entity\\User' . "\0" . 'quizResponses', '' . "\0" . 'App\\Entity\\User' . "\0" . 'leads', '' . "\0" . 'App\\Entity\\User' . "\0" . 'created_at', '' . "\0" . 'App\\Entity\\User' . "\0" . 'modified_at', '' . "\0" . 'App\\Entity\\User' . "\0" . 'purchaseNotes', '' . "\0" . 'App\\Entity\\User' . "\0" . 'contactNotes', '' . "\0" . 'App\\Entity\\User' . "\0" . 'activation_token', '' . "\0" . 'App\\Entity\\User' . "\0" . 'activation_expires', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reset_pw_token', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reset_pw_expires', '' . "\0" . 'App\\Entity\\User' . "\0" . 'mfa_token', '' . "\0" . 'App\\Entity\\User' . "\0" . 'mfa_code', '' . "\0" . 'App\\Entity\\User' . "\0" . 'mfa_token_expires', '' . "\0" . 'App\\Entity\\User' . "\0" . 'companies', '' . "\0" . 'App\\Entity\\User' . "\0" . 'comments', '' . "\0" . 'App\\Entity\\User' . "\0" . 'purchases', '' . "\0" . 'App\\Entity\\User' . "\0" . 'traffic', '' . "\0" . 'App\\Entity\\User' . "\0" . 'contact', '' . "\0" . 'App\\Entity\\User' . "\0" . 'pollResponses', '' . "\0" . 'App\\Entity\\User' . "\0" . 'site_signed_up_on', '' . "\0" . 'App\\Entity\\User' . "\0" . 'author_bio'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\User' . "\0" . 'id', '' . "\0" . 'App\\Entity\\User' . "\0" . 'version', 'image', 'imageFile', '' . "\0" . 'App\\Entity\\User' . "\0" . 'media', '' . "\0" . 'App\\Entity\\User' . "\0" . 'username', '' . "\0" . 'App\\Entity\\User' . "\0" . 'password', '' . "\0" . 'App\\Entity\\User' . "\0" . 'email', '' . "\0" . 'App\\Entity\\User' . "\0" . 'firstname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'lastname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'displayname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'role', '' . "\0" . 'App\\Entity\\User' . "\0" . 'type', '' . "\0" . 'App\\Entity\\User' . "\0" . 'status', '' . "\0" . 'App\\Entity\\User' . "\0" . 'member', '' . "\0" . 'App\\Entity\\User' . "\0" . 'member_expires', '' . "\0" . 'App\\Entity\\User' . "\0" . 'usermeta', '' . "\0" . 'App\\Entity\\User' . "\0" . 'content', '' . "\0" . 'App\\Entity\\User' . "\0" . 'quizzes', '' . "\0" . 'App\\Entity\\User' . "\0" . 'quizResponses', '' . "\0" . 'App\\Entity\\User' . "\0" . 'leads', '' . "\0" . 'App\\Entity\\User' . "\0" . 'created_at', '' . "\0" . 'App\\Entity\\User' . "\0" . 'modified_at', '' . "\0" . 'App\\Entity\\User' . "\0" . 'purchaseNotes', '' . "\0" . 'App\\Entity\\User' . "\0" . 'contactNotes', '' . "\0" . 'App\\Entity\\User' . "\0" . 'activation_token', '' . "\0" . 'App\\Entity\\User' . "\0" . 'activation_expires', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reset_pw_token', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reset_pw_expires', '' . "\0" . 'App\\Entity\\User' . "\0" . 'mfa_token', '' . "\0" . 'App\\Entity\\User' . "\0" . 'mfa_code', '' . "\0" . 'App\\Entity\\User' . "\0" . 'mfa_token_expires', '' . "\0" . 'App\\Entity\\User' . "\0" . 'companies', '' . "\0" . 'App\\Entity\\User' . "\0" . 'comments', '' . "\0" . 'App\\Entity\\User' . "\0" . 'purchases', '' . "\0" . 'App\\Entity\\User' . "\0" . 'traffic', '' . "\0" . 'App\\Entity\\User' . "\0" . 'contact', '' . "\0" . 'App\\Entity\\User' . "\0" . 'pollResponses', '' . "\0" . 'App\\Entity\\User' . "\0" . 'site_signed_up_on', '' . "\0" . 'App\\Entity\\User' . "\0" . 'author_bio'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (User $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getVersion()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getVersion', []);
return parent::getVersion();
}
/**
* {@inheritDoc}
*/
public function setUsername(string $username = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUsername', [$username]);
return parent::setUsername($username);
}
/**
* {@inheritDoc}
*/
public function getEmail(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);
return parent::getEmail();
}
/**
* {@inheritDoc}
*/
public function setEmail(string $email = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);
return parent::setEmail($email);
}
/**
* {@inheritDoc}
*/
public function getFirstname(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstname', []);
return parent::getFirstname();
}
/**
* {@inheritDoc}
*/
public function setFirstname(string $firstname = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstname', [$firstname]);
return parent::setFirstname($firstname);
}
/**
* {@inheritDoc}
*/
public function getLastname(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastname', []);
return parent::getLastname();
}
/**
* {@inheritDoc}
*/
public function setLastname(string $lastname = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastname', [$lastname]);
return parent::setLastname($lastname);
}
/**
* {@inheritDoc}
*/
public function getDisplayname(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDisplayname', []);
return parent::getDisplayname();
}
/**
* {@inheritDoc}
*/
public function setDisplayname(string $displayname = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDisplayname', [$displayname]);
return parent::setDisplayname($displayname);
}
/**
* {@inheritDoc}
*/
public function getByline()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getByline', []);
return parent::getByline();
}
/**
* {@inheritDoc}
*/
public function getRole(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRole', []);
return parent::getRole();
}
/**
* {@inheritDoc}
*/
public function setRole(?int $role): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRole', [$role]);
return parent::setRole($role);
}
/**
* {@inheritDoc}
*/
public function isAdmin()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isAdmin', []);
return parent::isAdmin();
}
/**
* {@inheritDoc}
*/
public function isSocialAdmin()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isSocialAdmin', []);
return parent::isSocialAdmin();
}
/**
* {@inheritDoc}
*/
public function isSuperAdmin()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isSuperAdmin', []);
return parent::isSuperAdmin();
}
/**
* {@inheritDoc}
*/
public function getType(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType(int $type): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
return parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function getStatus(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus(int $status): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function getMember(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMember', []);
return parent::getMember();
}
/**
* {@inheritDoc}
*/
public function setMember(int $member): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMember', [$member]);
return parent::setMember($member);
}
/**
* {@inheritDoc}
*/
public function isMember(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isMember', []);
return parent::isMember();
}
/**
* {@inheritDoc}
*/
public function getMemberExpires(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMemberExpires', []);
return parent::getMemberExpires();
}
/**
* {@inheritDoc}
*/
public function setMemberExpires(\DateTimeInterface $member_expires = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMemberExpires', [$member_expires]);
return parent::setMemberExpires($member_expires);
}
/**
* {@inheritDoc}
*/
public function getUsermeta(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsermeta', []);
return parent::getUsermeta();
}
/**
* {@inheritDoc}
*/
public function getUserMetaByKey($key = '')
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserMetaByKey', [$key]);
return parent::getUserMetaByKey($key);
}
/**
* {@inheritDoc}
*/
public function getUserMetaValueByKey($key = '')
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserMetaValueByKey', [$key]);
return parent::getUserMetaValueByKey($key);
}
/**
* {@inheritDoc}
*/
public function setUsermetum($key = '', $value = '')
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUsermetum', [$key, $value]);
return parent::setUsermetum($key, $value);
}
/**
* {@inheritDoc}
*/
public function addUsermetum(\App\Entity\UserMeta $usermetum): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addUsermetum', [$usermetum]);
return parent::addUsermetum($usermetum);
}
/**
* {@inheritDoc}
*/
public function removeUsermetum(\App\Entity\UserMeta $usermetum): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeUsermetum', [$usermetum]);
return parent::removeUsermetum($usermetum);
}
/**
* {@inheritDoc}
*/
public function getContent(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getContent', []);
return parent::getContent();
}
/**
* {@inheritDoc}
*/
public function addContent(\App\Entity\Content $content): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addContent', [$content]);
return parent::addContent($content);
}
/**
* {@inheritDoc}
*/
public function removeContent(\App\Entity\Content $content): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeContent', [$content]);
return parent::removeContent($content);
}
/**
* {@inheritDoc}
*/
public function getForumTopics()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getForumTopics', []);
return parent::getForumTopics();
}
/**
* {@inheritDoc}
*/
public function getForumReplies()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getForumReplies', []);
return parent::getForumReplies();
}
/**
* {@inheritDoc}
*/
public function markAsSpam(): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'markAsSpam', []);
return parent::markAsSpam();
}
/**
* {@inheritDoc}
*/
public function unmarkAsSpam(): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'unmarkAsSpam', []);
return parent::unmarkAsSpam();
}
/**
* {@inheritDoc}
*/
public function getLeads(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLeads', []);
return parent::getLeads();
}
/**
* {@inheritDoc}
*/
public function addLead(\App\Entity\Lead $lead): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addLead', [$lead]);
return parent::addLead($lead);
}
/**
* {@inheritDoc}
*/
public function removeLead(\App\Entity\Lead $lead): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeLead', [$lead]);
return parent::removeLead($lead);
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $created_at): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$created_at]);
return parent::setCreatedAt($created_at);
}
/**
* {@inheritDoc}
*/
public function getModifiedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getModifiedAt', []);
return parent::getModifiedAt();
}
/**
* {@inheritDoc}
*/
public function setModifiedAt(\DateTimeInterface $modified_at): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setModifiedAt', [$modified_at]);
return parent::setModifiedAt($modified_at);
}
/**
* {@inheritDoc}
*/
public function setImageFile(\Symfony\Component\HttpFoundation\File\File $image = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setImageFile', [$image]);
return parent::setImageFile($image);
}
/**
* {@inheritDoc}
*/
public function getImageFile()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getImageFile', []);
return parent::getImageFile();
}
/**
* {@inheritDoc}
*/
public function setImage($image)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setImage', [$image]);
return parent::setImage($image);
}
/**
* {@inheritDoc}
*/
public function getImage()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getImage', []);
return parent::getImage();
}
/**
* {@inheritDoc}
*/
public function removeAvatar()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAvatar', []);
return parent::removeAvatar();
}
/**
* {@inheritDoc}
*/
public function getAvatarURL()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAvatarURL', []);
return parent::getAvatarURL();
}
/**
* {@inheritDoc}
*/
public function getMedia(): ?\App\Entity\Media
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', []);
return parent::getMedia();
}
/**
* {@inheritDoc}
*/
public function setMedia(\App\Entity\Media $media = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', [$media]);
return parent::setMedia($media);
}
/**
* {@inheritDoc}
*/
public function getquizzes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getquizzes', []);
return parent::getquizzes();
}
/**
* {@inheritDoc}
*/
public function addQuiz(\App\Entity\Quiz $quiz): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addQuiz', [$quiz]);
return parent::addQuiz($quiz);
}
/**
* {@inheritDoc}
*/
public function removeQuiz(\App\Entity\Quiz $quiz): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeQuiz', [$quiz]);
return parent::removeQuiz($quiz);
}
/**
* {@inheritDoc}
*/
public function getQuizResponses(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQuizResponses', []);
return parent::getQuizResponses();
}
/**
* {@inheritDoc}
*/
public function addQuizResponse(\App\Entity\QuizResponse $quizResponse): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addQuizResponse', [$quizResponse]);
return parent::addQuizResponse($quizResponse);
}
/**
* {@inheritDoc}
*/
public function removeQuizResponse(\App\Entity\QuizResponse $quizResponse): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeQuizResponse', [$quizResponse]);
return parent::removeQuizResponse($quizResponse);
}
/**
* {@inheritDoc}
*/
public function getPurchaseNotes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPurchaseNotes', []);
return parent::getPurchaseNotes();
}
/**
* {@inheritDoc}
*/
public function addPurchaseNote(\App\Entity\PurchaseNote $orderNote): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPurchaseNote', [$orderNote]);
return parent::addPurchaseNote($orderNote);
}
/**
* {@inheritDoc}
*/
public function removeOrderNote(\App\Entity\PurchaseNote $orderNote): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeOrderNote', [$orderNote]);
return parent::removeOrderNote($orderNote);
}
/**
* {@inheritDoc}
*/
public function getContactNotes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getContactNotes', []);
return parent::getContactNotes();
}
/**
* {@inheritDoc}
*/
public function addContactNote(\App\Entity\ContactNote $contactNote): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addContactNote', [$contactNote]);
return parent::addContactNote($contactNote);
}
/**
* {@inheritDoc}
*/
public function removeContactNote(\App\Entity\ContactNote $contactNote): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeContactNote', [$contactNote]);
return parent::removeContactNote($contactNote);
}
/**
* {@inheritDoc}
*/
public function getActivationToken(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActivationToken', []);
return parent::getActivationToken();
}
/**
* {@inheritDoc}
*/
public function setActivationToken(string $activation_token = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActivationToken', [$activation_token]);
return parent::setActivationToken($activation_token);
}
/**
* {@inheritDoc}
*/
public function getActivationExpires(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActivationExpires', []);
return parent::getActivationExpires();
}
/**
* {@inheritDoc}
*/
public function setActivationExpires(\DateTimeInterface $activation_expires = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActivationExpires', [$activation_expires]);
return parent::setActivationExpires($activation_expires);
}
/**
* {@inheritDoc}
*/
public function getResetPwToken(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getResetPwToken', []);
return parent::getResetPwToken();
}
/**
* {@inheritDoc}
*/
public function setResetPwToken(string $reset_pw_token = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setResetPwToken', [$reset_pw_token]);
return parent::setResetPwToken($reset_pw_token);
}
/**
* {@inheritDoc}
*/
public function getResetPwExpires(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getResetPwExpires', []);
return parent::getResetPwExpires();
}
/**
* {@inheritDoc}
*/
public function setResetPwExpires(\DateTimeInterface $reset_pw_expires = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setResetPwExpires', [$reset_pw_expires]);
return parent::setResetPwExpires($reset_pw_expires);
}
/**
* {@inheritDoc}
*/
public function getMfaToken(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMfaToken', []);
return parent::getMfaToken();
}
/**
* {@inheritDoc}
*/
public function setMfaToken(string $mfa_token = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMfaToken', [$mfa_token]);
return parent::setMfaToken($mfa_token);
}
/**
* {@inheritDoc}
*/
public function getMfaCode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMfaCode', []);
return parent::getMfaCode();
}
/**
* {@inheritDoc}
*/
public function setMfaCode(string $mfa_code = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMfaCode', [$mfa_code]);
return parent::setMfaCode($mfa_code);
}
/**
* {@inheritDoc}
*/
public function getMfaTokenExpires(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMfaTokenExpires', []);
return parent::getMfaTokenExpires();
}
/**
* {@inheritDoc}
*/
public function setMfaTokenExpires(\DateTimeInterface $mfa_token_expires = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMfaTokenExpires', [$mfa_token_expires]);
return parent::setMfaTokenExpires($mfa_token_expires);
}
/**
* {@inheritDoc}
*/
public function getCompanies(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompanies', []);
return parent::getCompanies();
}
/**
* {@inheritDoc}
*/
public function inCompany(\App\Entity\Customer $company): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'inCompany', [$company]);
return parent::inCompany($company);
}
/**
* {@inheritDoc}
*/
public function addCompany(\App\Entity\Customer $company): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCompany', [$company]);
return parent::addCompany($company);
}
/**
* {@inheritDoc}
*/
public function removeCompany(\App\Entity\Customer $company): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCompany', [$company]);
return parent::removeCompany($company);
}
/**
* {@inheritDoc}
*/
public function getFullName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFullName', []);
return parent::getFullName();
}
/**
* {@inheritDoc}
*/
public function getRoles()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRoles', []);
return parent::getRoles();
}
/**
* {@inheritDoc}
*/
public function getUsername(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsername', []);
return parent::getUsername();
}
/**
* {@inheritDoc}
*/
public function getPassword()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassword', []);
return parent::getPassword();
}
/**
* {@inheritDoc}
*/
public function setPassword($password = '')
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassword', [$password]);
return parent::setPassword($password);
}
/**
* {@inheritDoc}
*/
public function getSalt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSalt', []);
return parent::getSalt();
}
/**
* {@inheritDoc}
*/
public function eraseCredentials()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'eraseCredentials', []);
return parent::eraseCredentials();
}
/**
* {@inheritDoc}
*/
public function isAccountNonExpired()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isAccountNonExpired', []);
return parent::isAccountNonExpired();
}
/**
* {@inheritDoc}
*/
public function isAccountNonLocked()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isAccountNonLocked', []);
return parent::isAccountNonLocked();
}
/**
* {@inheritDoc}
*/
public function isCredentialsNonExpired()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isCredentialsNonExpired', []);
return parent::isCredentialsNonExpired();
}
/**
* {@inheritDoc}
*/
public function isEnabled()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnabled', []);
return parent::isEnabled();
}
/**
* {@inheritDoc}
*/
public function serialize()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'serialize', []);
return parent::serialize();
}
/**
* {@inheritDoc}
*/
public function unserialize($serialized)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'unserialize', [$serialized]);
return parent::unserialize($serialized);
}
/**
* {@inheritDoc}
*/
public function getPurchases(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPurchases', []);
return parent::getPurchases();
}
/**
* {@inheritDoc}
*/
public function getActivePurchase(): ?\App\Entity\Purchase
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActivePurchase', []);
return parent::getActivePurchase();
}
/**
* {@inheritDoc}
*/
public function addPurchase(\App\Entity\Purchase $order): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPurchase', [$order]);
return parent::addPurchase($order);
}
/**
* {@inheritDoc}
*/
public function removePurchase(\App\Entity\Purchase $order): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removePurchase', [$order]);
return parent::removePurchase($order);
}
/**
* {@inheritDoc}
*/
public function countCouponUses(\App\Entity\Coupon $coupon): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'countCouponUses', [$coupon]);
return parent::countCouponUses($coupon);
}
/**
* {@inheritDoc}
*/
public function getComments(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getComments', []);
return parent::getComments();
}
/**
* {@inheritDoc}
*/
public function addComment(\App\Entity\Comment $comment): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addComment', [$comment]);
return parent::addComment($comment);
}
/**
* {@inheritDoc}
*/
public function removeComment(\App\Entity\Comment $comment): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeComment', [$comment]);
return parent::removeComment($comment);
}
/**
* {@inheritDoc}
*/
public function getTraffic(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTraffic', []);
return parent::getTraffic();
}
/**
* {@inheritDoc}
*/
public function addTraffic(\App\Entity\Traffic $traffic): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addTraffic', [$traffic]);
return parent::addTraffic($traffic);
}
/**
* {@inheritDoc}
*/
public function removeTraffic(\App\Entity\Traffic $traffic): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTraffic', [$traffic]);
return parent::removeTraffic($traffic);
}
/**
* {@inheritDoc}
*/
public function getContact(): ?\App\Entity\Contact
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getContact', []);
return parent::getContact();
}
/**
* {@inheritDoc}
*/
public function setContact(\App\Entity\Contact $contact = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setContact', [$contact]);
return parent::setContact($contact);
}
/**
* {@inheritDoc}
*/
public function getPollResponses(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPollResponses', []);
return parent::getPollResponses();
}
/**
* {@inheritDoc}
*/
public function addPollResponse(\App\Entity\PollResponse $pollResponse): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPollResponse', [$pollResponse]);
return parent::addPollResponse($pollResponse);
}
/**
* {@inheritDoc}
*/
public function removePollResponse(\App\Entity\PollResponse $pollResponse): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removePollResponse', [$pollResponse]);
return parent::removePollResponse($pollResponse);
}
/**
* {@inheritDoc}
*/
public function getSiteSignedUpOn(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSiteSignedUpOn', []);
return parent::getSiteSignedUpOn();
}
/**
* {@inheritDoc}
*/
public function setSiteSignedUpOn(int $site_signed_up_on): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSiteSignedUpOn', [$site_signed_up_on]);
return parent::setSiteSignedUpOn($site_signed_up_on);
}
/**
* {@inheritDoc}
*/
public function getAuthorBio(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAuthorBio', []);
return parent::getAuthorBio();
}
/**
* {@inheritDoc}
*/
public function setAuthorBio(string $author_bio = NULL): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAuthorBio', [$author_bio]);
return parent::setAuthorBio($author_bio);
}
}