var/cache/dev/doctrine/orm/Proxies/__CG__AppEntityUser.php line 9

Open in your IDE?
  1. <?php
  2. namespace Proxies\__CG__\App\Entity;
  3. /**
  4.  * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5.  */
  6. class User extends \App\Entity\User implements \Doctrine\ORM\Proxy\Proxy
  7. {
  8.     /**
  9.      * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
  10.      *      three parameters, being respectively the proxy object to be initialized, the method that triggered the
  11.      *      initialization process and an array of ordered parameters that were passed to that method.
  12.      *
  13.      * @see \Doctrine\Common\Proxy\Proxy::__setInitializer
  14.      */
  15.     public $__initializer__;
  16.     /**
  17.      * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
  18.      *
  19.      * @see \Doctrine\Common\Proxy\Proxy::__setCloner
  20.      */
  21.     public $__cloner__;
  22.     /**
  23.      * @var boolean flag indicating if this object was already initialized
  24.      *
  25.      * @see \Doctrine\Persistence\Proxy::__isInitialized
  26.      */
  27.     public $__isInitialized__ false;
  28.     /**
  29.      * @var array<string, null> properties to be lazy loaded, indexed by property name
  30.      */
  31.     public static $lazyPropertiesNames = array (
  32. );
  33.     /**
  34.      * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
  35.      *
  36.      * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
  37.      */
  38.     public static $lazyPropertiesDefaults = array (
  39. );
  40.     public function __construct(?\Closure $initializer null, ?\Closure $cloner null)
  41.     {
  42.         $this->__initializer__ $initializer;
  43.         $this->__cloner__      $cloner;
  44.     }
  45.     /**
  46.      * 
  47.      * @return array
  48.      */
  49.     public function __sleep()
  50.     {
  51.         if ($this->__isInitialized__) {
  52.             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'];
  53.         }
  54.         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'];
  55.     }
  56.     /**
  57.      * 
  58.      */
  59.     public function __wakeup()
  60.     {
  61.         if ( ! $this->__isInitialized__) {
  62.             $this->__initializer__ = function (User $proxy) {
  63.                 $proxy->__setInitializer(null);
  64.                 $proxy->__setCloner(null);
  65.                 $existingProperties get_object_vars($proxy);
  66.                 foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
  67.                     if ( ! array_key_exists($property$existingProperties)) {
  68.                         $proxy->$property $defaultValue;
  69.                     }
  70.                 }
  71.             };
  72.         }
  73.     }
  74.     /**
  75.      * 
  76.      */
  77.     public function __clone()
  78.     {
  79.         $this->__cloner__ && $this->__cloner__->__invoke($this'__clone', []);
  80.     }
  81.     /**
  82.      * Forces initialization of the proxy
  83.      */
  84.     public function __load(): void
  85.     {
  86.         $this->__initializer__ && $this->__initializer__->__invoke($this'__load', []);
  87.     }
  88.     /**
  89.      * {@inheritDoc}
  90.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  91.      */
  92.     public function __isInitialized(): bool
  93.     {
  94.         return $this->__isInitialized__;
  95.     }
  96.     /**
  97.      * {@inheritDoc}
  98.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  99.      */
  100.     public function __setInitialized($initialized): void
  101.     {
  102.         $this->__isInitialized__ $initialized;
  103.     }
  104.     /**
  105.      * {@inheritDoc}
  106.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  107.      */
  108.     public function __setInitializer(\Closure $initializer null): void
  109.     {
  110.         $this->__initializer__ $initializer;
  111.     }
  112.     /**
  113.      * {@inheritDoc}
  114.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  115.      */
  116.     public function __getInitializer(): ?\Closure
  117.     {
  118.         return $this->__initializer__;
  119.     }
  120.     /**
  121.      * {@inheritDoc}
  122.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  123.      */
  124.     public function __setCloner(\Closure $cloner null): void
  125.     {
  126.         $this->__cloner__ $cloner;
  127.     }
  128.     /**
  129.      * {@inheritDoc}
  130.      * @internal generated method: use only when explicitly handling proxy specific cloning logic
  131.      */
  132.     public function __getCloner(): ?\Closure
  133.     {
  134.         return $this->__cloner__;
  135.     }
  136.     /**
  137.      * {@inheritDoc}
  138.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  139.      * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
  140.      * @static
  141.      */
  142.     public function __getLazyProperties(): array
  143.     {
  144.         return self::$lazyPropertiesDefaults;
  145.     }
  146.     
  147.     /**
  148.      * {@inheritDoc}
  149.      */
  150.     public function getId()
  151.     {
  152.         if ($this->__isInitialized__ === false) {
  153.             return  parent::getId();
  154.         }
  155.         $this->__initializer__ && $this->__initializer__->__invoke($this'getId', []);
  156.         return parent::getId();
  157.     }
  158.     /**
  159.      * {@inheritDoc}
  160.      */
  161.     public function getVersion()
  162.     {
  163.         $this->__initializer__ && $this->__initializer__->__invoke($this'getVersion', []);
  164.         return parent::getVersion();
  165.     }
  166.     /**
  167.      * {@inheritDoc}
  168.      */
  169.     public function setUsername(string $username NULL): \App\Entity\User
  170.     {
  171.         $this->__initializer__ && $this->__initializer__->__invoke($this'setUsername', [$username]);
  172.         return parent::setUsername($username);
  173.     }
  174.     /**
  175.      * {@inheritDoc}
  176.      */
  177.     public function getEmail(): ?string
  178.     {
  179.         $this->__initializer__ && $this->__initializer__->__invoke($this'getEmail', []);
  180.         return parent::getEmail();
  181.     }
  182.     /**
  183.      * {@inheritDoc}
  184.      */
  185.     public function setEmail(string $email NULL): \App\Entity\User
  186.     {
  187.         $this->__initializer__ && $this->__initializer__->__invoke($this'setEmail', [$email]);
  188.         return parent::setEmail($email);
  189.     }
  190.     /**
  191.      * {@inheritDoc}
  192.      */
  193.     public function getFirstname(): ?string
  194.     {
  195.         $this->__initializer__ && $this->__initializer__->__invoke($this'getFirstname', []);
  196.         return parent::getFirstname();
  197.     }
  198.     /**
  199.      * {@inheritDoc}
  200.      */
  201.     public function setFirstname(string $firstname NULL): \App\Entity\User
  202.     {
  203.         $this->__initializer__ && $this->__initializer__->__invoke($this'setFirstname', [$firstname]);
  204.         return parent::setFirstname($firstname);
  205.     }
  206.     /**
  207.      * {@inheritDoc}
  208.      */
  209.     public function getLastname(): ?string
  210.     {
  211.         $this->__initializer__ && $this->__initializer__->__invoke($this'getLastname', []);
  212.         return parent::getLastname();
  213.     }
  214.     /**
  215.      * {@inheritDoc}
  216.      */
  217.     public function setLastname(string $lastname NULL): \App\Entity\User
  218.     {
  219.         $this->__initializer__ && $this->__initializer__->__invoke($this'setLastname', [$lastname]);
  220.         return parent::setLastname($lastname);
  221.     }
  222.     /**
  223.      * {@inheritDoc}
  224.      */
  225.     public function getDisplayname(): ?string
  226.     {
  227.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDisplayname', []);
  228.         return parent::getDisplayname();
  229.     }
  230.     /**
  231.      * {@inheritDoc}
  232.      */
  233.     public function setDisplayname(string $displayname NULL): \App\Entity\User
  234.     {
  235.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDisplayname', [$displayname]);
  236.         return parent::setDisplayname($displayname);
  237.     }
  238.     /**
  239.      * {@inheritDoc}
  240.      */
  241.     public function getByline()
  242.     {
  243.         $this->__initializer__ && $this->__initializer__->__invoke($this'getByline', []);
  244.         return parent::getByline();
  245.     }
  246.     /**
  247.      * {@inheritDoc}
  248.      */
  249.     public function getRole(): ?int
  250.     {
  251.         $this->__initializer__ && $this->__initializer__->__invoke($this'getRole', []);
  252.         return parent::getRole();
  253.     }
  254.     /**
  255.      * {@inheritDoc}
  256.      */
  257.     public function setRole(?int $role): \App\Entity\User
  258.     {
  259.         $this->__initializer__ && $this->__initializer__->__invoke($this'setRole', [$role]);
  260.         return parent::setRole($role);
  261.     }
  262.     /**
  263.      * {@inheritDoc}
  264.      */
  265.     public function isAdmin()
  266.     {
  267.         $this->__initializer__ && $this->__initializer__->__invoke($this'isAdmin', []);
  268.         return parent::isAdmin();
  269.     }
  270.     /**
  271.      * {@inheritDoc}
  272.      */
  273.     public function isSocialAdmin()
  274.     {
  275.         $this->__initializer__ && $this->__initializer__->__invoke($this'isSocialAdmin', []);
  276.         return parent::isSocialAdmin();
  277.     }
  278.     /**
  279.      * {@inheritDoc}
  280.      */
  281.     public function isSuperAdmin()
  282.     {
  283.         $this->__initializer__ && $this->__initializer__->__invoke($this'isSuperAdmin', []);
  284.         return parent::isSuperAdmin();
  285.     }
  286.     /**
  287.      * {@inheritDoc}
  288.      */
  289.     public function getType(): ?int
  290.     {
  291.         $this->__initializer__ && $this->__initializer__->__invoke($this'getType', []);
  292.         return parent::getType();
  293.     }
  294.     /**
  295.      * {@inheritDoc}
  296.      */
  297.     public function setType(int $type): \App\Entity\User
  298.     {
  299.         $this->__initializer__ && $this->__initializer__->__invoke($this'setType', [$type]);
  300.         return parent::setType($type);
  301.     }
  302.     /**
  303.      * {@inheritDoc}
  304.      */
  305.     public function getStatus(): ?int
  306.     {
  307.         $this->__initializer__ && $this->__initializer__->__invoke($this'getStatus', []);
  308.         return parent::getStatus();
  309.     }
  310.     /**
  311.      * {@inheritDoc}
  312.      */
  313.     public function setStatus(int $status): \App\Entity\User
  314.     {
  315.         $this->__initializer__ && $this->__initializer__->__invoke($this'setStatus', [$status]);
  316.         return parent::setStatus($status);
  317.     }
  318.     /**
  319.      * {@inheritDoc}
  320.      */
  321.     public function getMember(): ?int
  322.     {
  323.         $this->__initializer__ && $this->__initializer__->__invoke($this'getMember', []);
  324.         return parent::getMember();
  325.     }
  326.     /**
  327.      * {@inheritDoc}
  328.      */
  329.     public function setMember(int $member): \App\Entity\User
  330.     {
  331.         $this->__initializer__ && $this->__initializer__->__invoke($this'setMember', [$member]);
  332.         return parent::setMember($member);
  333.     }
  334.     /**
  335.      * {@inheritDoc}
  336.      */
  337.     public function isMember(): ?bool
  338.     {
  339.         $this->__initializer__ && $this->__initializer__->__invoke($this'isMember', []);
  340.         return parent::isMember();
  341.     }
  342.     /**
  343.      * {@inheritDoc}
  344.      */
  345.     public function getMemberExpires(): ?\DateTimeInterface
  346.     {
  347.         $this->__initializer__ && $this->__initializer__->__invoke($this'getMemberExpires', []);
  348.         return parent::getMemberExpires();
  349.     }
  350.     /**
  351.      * {@inheritDoc}
  352.      */
  353.     public function setMemberExpires(\DateTimeInterface $member_expires NULL): \App\Entity\User
  354.     {
  355.         $this->__initializer__ && $this->__initializer__->__invoke($this'setMemberExpires', [$member_expires]);
  356.         return parent::setMemberExpires($member_expires);
  357.     }
  358.     /**
  359.      * {@inheritDoc}
  360.      */
  361.     public function getUsermeta(): \Doctrine\Common\Collections\Collection
  362.     {
  363.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUsermeta', []);
  364.         return parent::getUsermeta();
  365.     }
  366.     /**
  367.      * {@inheritDoc}
  368.      */
  369.     public function getUserMetaByKey($key '')
  370.     {
  371.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserMetaByKey', [$key]);
  372.         return parent::getUserMetaByKey($key);
  373.     }
  374.     /**
  375.      * {@inheritDoc}
  376.      */
  377.     public function getUserMetaValueByKey($key '')
  378.     {
  379.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserMetaValueByKey', [$key]);
  380.         return parent::getUserMetaValueByKey($key);
  381.     }
  382.     /**
  383.      * {@inheritDoc}
  384.      */
  385.     public function setUsermetum($key ''$value '')
  386.     {
  387.         $this->__initializer__ && $this->__initializer__->__invoke($this'setUsermetum', [$key$value]);
  388.         return parent::setUsermetum($key$value);
  389.     }
  390.     /**
  391.      * {@inheritDoc}
  392.      */
  393.     public function addUsermetum(\App\Entity\UserMeta $usermetum): \App\Entity\User
  394.     {
  395.         $this->__initializer__ && $this->__initializer__->__invoke($this'addUsermetum', [$usermetum]);
  396.         return parent::addUsermetum($usermetum);
  397.     }
  398.     /**
  399.      * {@inheritDoc}
  400.      */
  401.     public function removeUsermetum(\App\Entity\UserMeta $usermetum): \App\Entity\User
  402.     {
  403.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeUsermetum', [$usermetum]);
  404.         return parent::removeUsermetum($usermetum);
  405.     }
  406.     /**
  407.      * {@inheritDoc}
  408.      */
  409.     public function getContent(): \Doctrine\Common\Collections\Collection
  410.     {
  411.         $this->__initializer__ && $this->__initializer__->__invoke($this'getContent', []);
  412.         return parent::getContent();
  413.     }
  414.     /**
  415.      * {@inheritDoc}
  416.      */
  417.     public function addContent(\App\Entity\Content $content): \App\Entity\User
  418.     {
  419.         $this->__initializer__ && $this->__initializer__->__invoke($this'addContent', [$content]);
  420.         return parent::addContent($content);
  421.     }
  422.     /**
  423.      * {@inheritDoc}
  424.      */
  425.     public function removeContent(\App\Entity\Content $content): \App\Entity\User
  426.     {
  427.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeContent', [$content]);
  428.         return parent::removeContent($content);
  429.     }
  430.     /**
  431.      * {@inheritDoc}
  432.      */
  433.     public function getForumTopics()
  434.     {
  435.         $this->__initializer__ && $this->__initializer__->__invoke($this'getForumTopics', []);
  436.         return parent::getForumTopics();
  437.     }
  438.     /**
  439.      * {@inheritDoc}
  440.      */
  441.     public function getForumReplies()
  442.     {
  443.         $this->__initializer__ && $this->__initializer__->__invoke($this'getForumReplies', []);
  444.         return parent::getForumReplies();
  445.     }
  446.     /**
  447.      * {@inheritDoc}
  448.      */
  449.     public function markAsSpam(): \App\Entity\User
  450.     {
  451.         $this->__initializer__ && $this->__initializer__->__invoke($this'markAsSpam', []);
  452.         return parent::markAsSpam();
  453.     }
  454.     /**
  455.      * {@inheritDoc}
  456.      */
  457.     public function unmarkAsSpam(): \App\Entity\User
  458.     {
  459.         $this->__initializer__ && $this->__initializer__->__invoke($this'unmarkAsSpam', []);
  460.         return parent::unmarkAsSpam();
  461.     }
  462.     /**
  463.      * {@inheritDoc}
  464.      */
  465.     public function getLeads(): \Doctrine\Common\Collections\Collection
  466.     {
  467.         $this->__initializer__ && $this->__initializer__->__invoke($this'getLeads', []);
  468.         return parent::getLeads();
  469.     }
  470.     /**
  471.      * {@inheritDoc}
  472.      */
  473.     public function addLead(\App\Entity\Lead $lead): \App\Entity\User
  474.     {
  475.         $this->__initializer__ && $this->__initializer__->__invoke($this'addLead', [$lead]);
  476.         return parent::addLead($lead);
  477.     }
  478.     /**
  479.      * {@inheritDoc}
  480.      */
  481.     public function removeLead(\App\Entity\Lead $lead): \App\Entity\User
  482.     {
  483.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeLead', [$lead]);
  484.         return parent::removeLead($lead);
  485.     }
  486.     /**
  487.      * {@inheritDoc}
  488.      */
  489.     public function __toString(): string
  490.     {
  491.         $this->__initializer__ && $this->__initializer__->__invoke($this'__toString', []);
  492.         return parent::__toString();
  493.     }
  494.     /**
  495.      * {@inheritDoc}
  496.      */
  497.     public function getCreatedAt(): ?\DateTimeInterface
  498.     {
  499.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCreatedAt', []);
  500.         return parent::getCreatedAt();
  501.     }
  502.     /**
  503.      * {@inheritDoc}
  504.      */
  505.     public function setCreatedAt(\DateTimeInterface $created_at): \App\Entity\User
  506.     {
  507.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCreatedAt', [$created_at]);
  508.         return parent::setCreatedAt($created_at);
  509.     }
  510.     /**
  511.      * {@inheritDoc}
  512.      */
  513.     public function getModifiedAt(): ?\DateTimeInterface
  514.     {
  515.         $this->__initializer__ && $this->__initializer__->__invoke($this'getModifiedAt', []);
  516.         return parent::getModifiedAt();
  517.     }
  518.     /**
  519.      * {@inheritDoc}
  520.      */
  521.     public function setModifiedAt(\DateTimeInterface $modified_at): \App\Entity\User
  522.     {
  523.         $this->__initializer__ && $this->__initializer__->__invoke($this'setModifiedAt', [$modified_at]);
  524.         return parent::setModifiedAt($modified_at);
  525.     }
  526.     /**
  527.      * {@inheritDoc}
  528.      */
  529.     public function setImageFile(\Symfony\Component\HttpFoundation\File\File $image NULL)
  530.     {
  531.         $this->__initializer__ && $this->__initializer__->__invoke($this'setImageFile', [$image]);
  532.         return parent::setImageFile($image);
  533.     }
  534.     /**
  535.      * {@inheritDoc}
  536.      */
  537.     public function getImageFile()
  538.     {
  539.         $this->__initializer__ && $this->__initializer__->__invoke($this'getImageFile', []);
  540.         return parent::getImageFile();
  541.     }
  542.     /**
  543.      * {@inheritDoc}
  544.      */
  545.     public function setImage($image)
  546.     {
  547.         $this->__initializer__ && $this->__initializer__->__invoke($this'setImage', [$image]);
  548.         return parent::setImage($image);
  549.     }
  550.     /**
  551.      * {@inheritDoc}
  552.      */
  553.     public function getImage()
  554.     {
  555.         $this->__initializer__ && $this->__initializer__->__invoke($this'getImage', []);
  556.         return parent::getImage();
  557.     }
  558.     /**
  559.      * {@inheritDoc}
  560.      */
  561.     public function removeAvatar()
  562.     {
  563.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeAvatar', []);
  564.         return parent::removeAvatar();
  565.     }
  566.     /**
  567.      * {@inheritDoc}
  568.      */
  569.     public function getAvatarURL()
  570.     {
  571.         $this->__initializer__ && $this->__initializer__->__invoke($this'getAvatarURL', []);
  572.         return parent::getAvatarURL();
  573.     }
  574.     /**
  575.      * {@inheritDoc}
  576.      */
  577.     public function getMedia(): ?\App\Entity\Media
  578.     {
  579.         $this->__initializer__ && $this->__initializer__->__invoke($this'getMedia', []);
  580.         return parent::getMedia();
  581.     }
  582.     /**
  583.      * {@inheritDoc}
  584.      */
  585.     public function setMedia(\App\Entity\Media $media NULL): \App\Entity\User
  586.     {
  587.         $this->__initializer__ && $this->__initializer__->__invoke($this'setMedia', [$media]);
  588.         return parent::setMedia($media);
  589.     }
  590.     /**
  591.      * {@inheritDoc}
  592.      */
  593.     public function getquizzes(): \Doctrine\Common\Collections\Collection
  594.     {
  595.         $this->__initializer__ && $this->__initializer__->__invoke($this'getquizzes', []);
  596.         return parent::getquizzes();
  597.     }
  598.     /**
  599.      * {@inheritDoc}
  600.      */
  601.     public function addQuiz(\App\Entity\Quiz $quiz): \App\Entity\User
  602.     {
  603.         $this->__initializer__ && $this->__initializer__->__invoke($this'addQuiz', [$quiz]);
  604.         return parent::addQuiz($quiz);
  605.     }
  606.     /**
  607.      * {@inheritDoc}
  608.      */
  609.     public function removeQuiz(\App\Entity\Quiz $quiz): \App\Entity\User
  610.     {
  611.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeQuiz', [$quiz]);
  612.         return parent::removeQuiz($quiz);
  613.     }
  614.     /**
  615.      * {@inheritDoc}
  616.      */
  617.     public function getQuizResponses(): \Doctrine\Common\Collections\Collection
  618.     {
  619.         $this->__initializer__ && $this->__initializer__->__invoke($this'getQuizResponses', []);
  620.         return parent::getQuizResponses();
  621.     }
  622.     /**
  623.      * {@inheritDoc}
  624.      */
  625.     public function addQuizResponse(\App\Entity\QuizResponse $quizResponse): \App\Entity\User
  626.     {
  627.         $this->__initializer__ && $this->__initializer__->__invoke($this'addQuizResponse', [$quizResponse]);
  628.         return parent::addQuizResponse($quizResponse);
  629.     }
  630.     /**
  631.      * {@inheritDoc}
  632.      */
  633.     public function removeQuizResponse(\App\Entity\QuizResponse $quizResponse): \App\Entity\User
  634.     {
  635.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeQuizResponse', [$quizResponse]);
  636.         return parent::removeQuizResponse($quizResponse);
  637.     }
  638.     /**
  639.      * {@inheritDoc}
  640.      */
  641.     public function getPurchaseNotes(): \Doctrine\Common\Collections\Collection
  642.     {
  643.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPurchaseNotes', []);
  644.         return parent::getPurchaseNotes();
  645.     }
  646.     /**
  647.      * {@inheritDoc}
  648.      */
  649.     public function addPurchaseNote(\App\Entity\PurchaseNote $orderNote): \App\Entity\User
  650.     {
  651.         $this->__initializer__ && $this->__initializer__->__invoke($this'addPurchaseNote', [$orderNote]);
  652.         return parent::addPurchaseNote($orderNote);
  653.     }
  654.     /**
  655.      * {@inheritDoc}
  656.      */
  657.     public function removeOrderNote(\App\Entity\PurchaseNote $orderNote): \App\Entity\User
  658.     {
  659.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeOrderNote', [$orderNote]);
  660.         return parent::removeOrderNote($orderNote);
  661.     }
  662.     /**
  663.      * {@inheritDoc}
  664.      */
  665.     public function getContactNotes(): \Doctrine\Common\Collections\Collection
  666.     {
  667.         $this->__initializer__ && $this->__initializer__->__invoke($this'getContactNotes', []);
  668.         return parent::getContactNotes();
  669.     }
  670.     /**
  671.      * {@inheritDoc}
  672.      */
  673.     public function addContactNote(\App\Entity\ContactNote $contactNote): \App\Entity\User
  674.     {
  675.         $this->__initializer__ && $this->__initializer__->__invoke($this'addContactNote', [$contactNote]);
  676.         return parent::addContactNote($contactNote);
  677.     }
  678.     /**
  679.      * {@inheritDoc}
  680.      */
  681.     public function removeContactNote(\App\Entity\ContactNote $contactNote): \App\Entity\User
  682.     {
  683.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeContactNote', [$contactNote]);
  684.         return parent::removeContactNote($contactNote);
  685.     }
  686.     /**
  687.      * {@inheritDoc}
  688.      */
  689.     public function getActivationToken(): ?string
  690.     {
  691.         $this->__initializer__ && $this->__initializer__->__invoke($this'getActivationToken', []);
  692.         return parent::getActivationToken();
  693.     }
  694.     /**
  695.      * {@inheritDoc}
  696.      */
  697.     public function setActivationToken(string $activation_token NULL): \App\Entity\User
  698.     {
  699.         $this->__initializer__ && $this->__initializer__->__invoke($this'setActivationToken', [$activation_token]);
  700.         return parent::setActivationToken($activation_token);
  701.     }
  702.     /**
  703.      * {@inheritDoc}
  704.      */
  705.     public function getActivationExpires(): ?\DateTimeInterface
  706.     {
  707.         $this->__initializer__ && $this->__initializer__->__invoke($this'getActivationExpires', []);
  708.         return parent::getActivationExpires();
  709.     }
  710.     /**
  711.      * {@inheritDoc}
  712.      */
  713.     public function setActivationExpires(\DateTimeInterface $activation_expires NULL): \App\Entity\User
  714.     {
  715.         $this->__initializer__ && $this->__initializer__->__invoke($this'setActivationExpires', [$activation_expires]);
  716.         return parent::setActivationExpires($activation_expires);
  717.     }
  718.     /**
  719.      * {@inheritDoc}
  720.      */
  721.     public function getResetPwToken(): ?string
  722.     {
  723.         $this->__initializer__ && $this->__initializer__->__invoke($this'getResetPwToken', []);
  724.         return parent::getResetPwToken();
  725.     }
  726.     /**
  727.      * {@inheritDoc}
  728.      */
  729.     public function setResetPwToken(string $reset_pw_token NULL): \App\Entity\User
  730.     {
  731.         $this->__initializer__ && $this->__initializer__->__invoke($this'setResetPwToken', [$reset_pw_token]);
  732.         return parent::setResetPwToken($reset_pw_token);
  733.     }
  734.     /**
  735.      * {@inheritDoc}
  736.      */
  737.     public function getResetPwExpires(): ?\DateTimeInterface
  738.     {
  739.         $this->__initializer__ && $this->__initializer__->__invoke($this'getResetPwExpires', []);
  740.         return parent::getResetPwExpires();
  741.     }
  742.     /**
  743.      * {@inheritDoc}
  744.      */
  745.     public function setResetPwExpires(\DateTimeInterface $reset_pw_expires NULL): \App\Entity\User
  746.     {
  747.         $this->__initializer__ && $this->__initializer__->__invoke($this'setResetPwExpires', [$reset_pw_expires]);
  748.         return parent::setResetPwExpires($reset_pw_expires);
  749.     }
  750.     /**
  751.      * {@inheritDoc}
  752.      */
  753.     public function getMfaToken(): ?string
  754.     {
  755.         $this->__initializer__ && $this->__initializer__->__invoke($this'getMfaToken', []);
  756.         return parent::getMfaToken();
  757.     }
  758.     /**
  759.      * {@inheritDoc}
  760.      */
  761.     public function setMfaToken(string $mfa_token NULL): \App\Entity\User
  762.     {
  763.         $this->__initializer__ && $this->__initializer__->__invoke($this'setMfaToken', [$mfa_token]);
  764.         return parent::setMfaToken($mfa_token);
  765.     }
  766.     /**
  767.      * {@inheritDoc}
  768.      */
  769.     public function getMfaCode(): ?string
  770.     {
  771.         $this->__initializer__ && $this->__initializer__->__invoke($this'getMfaCode', []);
  772.         return parent::getMfaCode();
  773.     }
  774.     /**
  775.      * {@inheritDoc}
  776.      */
  777.     public function setMfaCode(string $mfa_code NULL): \App\Entity\User
  778.     {
  779.         $this->__initializer__ && $this->__initializer__->__invoke($this'setMfaCode', [$mfa_code]);
  780.         return parent::setMfaCode($mfa_code);
  781.     }
  782.     /**
  783.      * {@inheritDoc}
  784.      */
  785.     public function getMfaTokenExpires(): ?\DateTimeInterface
  786.     {
  787.         $this->__initializer__ && $this->__initializer__->__invoke($this'getMfaTokenExpires', []);
  788.         return parent::getMfaTokenExpires();
  789.     }
  790.     /**
  791.      * {@inheritDoc}
  792.      */
  793.     public function setMfaTokenExpires(\DateTimeInterface $mfa_token_expires NULL): \App\Entity\User
  794.     {
  795.         $this->__initializer__ && $this->__initializer__->__invoke($this'setMfaTokenExpires', [$mfa_token_expires]);
  796.         return parent::setMfaTokenExpires($mfa_token_expires);
  797.     }
  798.     /**
  799.      * {@inheritDoc}
  800.      */
  801.     public function getCompanies(): \Doctrine\Common\Collections\Collection
  802.     {
  803.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCompanies', []);
  804.         return parent::getCompanies();
  805.     }
  806.     /**
  807.      * {@inheritDoc}
  808.      */
  809.     public function inCompany(\App\Entity\Customer $company): ?bool
  810.     {
  811.         $this->__initializer__ && $this->__initializer__->__invoke($this'inCompany', [$company]);
  812.         return parent::inCompany($company);
  813.     }
  814.     /**
  815.      * {@inheritDoc}
  816.      */
  817.     public function addCompany(\App\Entity\Customer $company): \App\Entity\User
  818.     {
  819.         $this->__initializer__ && $this->__initializer__->__invoke($this'addCompany', [$company]);
  820.         return parent::addCompany($company);
  821.     }
  822.     /**
  823.      * {@inheritDoc}
  824.      */
  825.     public function removeCompany(\App\Entity\Customer $company): \App\Entity\User
  826.     {
  827.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeCompany', [$company]);
  828.         return parent::removeCompany($company);
  829.     }
  830.     /**
  831.      * {@inheritDoc}
  832.      */
  833.     public function getFullName()
  834.     {
  835.         $this->__initializer__ && $this->__initializer__->__invoke($this'getFullName', []);
  836.         return parent::getFullName();
  837.     }
  838.     /**
  839.      * {@inheritDoc}
  840.      */
  841.     public function getRoles()
  842.     {
  843.         $this->__initializer__ && $this->__initializer__->__invoke($this'getRoles', []);
  844.         return parent::getRoles();
  845.     }
  846.     /**
  847.      * {@inheritDoc}
  848.      */
  849.     public function getUsername(): ?string
  850.     {
  851.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUsername', []);
  852.         return parent::getUsername();
  853.     }
  854.     /**
  855.      * {@inheritDoc}
  856.      */
  857.     public function getPassword()
  858.     {
  859.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPassword', []);
  860.         return parent::getPassword();
  861.     }
  862.     /**
  863.      * {@inheritDoc}
  864.      */
  865.     public function setPassword($password '')
  866.     {
  867.         $this->__initializer__ && $this->__initializer__->__invoke($this'setPassword', [$password]);
  868.         return parent::setPassword($password);
  869.     }
  870.     /**
  871.      * {@inheritDoc}
  872.      */
  873.     public function getSalt()
  874.     {
  875.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSalt', []);
  876.         return parent::getSalt();
  877.     }
  878.     /**
  879.      * {@inheritDoc}
  880.      */
  881.     public function eraseCredentials()
  882.     {
  883.         $this->__initializer__ && $this->__initializer__->__invoke($this'eraseCredentials', []);
  884.         return parent::eraseCredentials();
  885.     }
  886.     /**
  887.      * {@inheritDoc}
  888.      */
  889.     public function isAccountNonExpired()
  890.     {
  891.         $this->__initializer__ && $this->__initializer__->__invoke($this'isAccountNonExpired', []);
  892.         return parent::isAccountNonExpired();
  893.     }
  894.     /**
  895.      * {@inheritDoc}
  896.      */
  897.     public function isAccountNonLocked()
  898.     {
  899.         $this->__initializer__ && $this->__initializer__->__invoke($this'isAccountNonLocked', []);
  900.         return parent::isAccountNonLocked();
  901.     }
  902.     /**
  903.      * {@inheritDoc}
  904.      */
  905.     public function isCredentialsNonExpired()
  906.     {
  907.         $this->__initializer__ && $this->__initializer__->__invoke($this'isCredentialsNonExpired', []);
  908.         return parent::isCredentialsNonExpired();
  909.     }
  910.     /**
  911.      * {@inheritDoc}
  912.      */
  913.     public function isEnabled()
  914.     {
  915.         $this->__initializer__ && $this->__initializer__->__invoke($this'isEnabled', []);
  916.         return parent::isEnabled();
  917.     }
  918.     /**
  919.      * {@inheritDoc}
  920.      */
  921.     public function serialize()
  922.     {
  923.         $this->__initializer__ && $this->__initializer__->__invoke($this'serialize', []);
  924.         return parent::serialize();
  925.     }
  926.     /**
  927.      * {@inheritDoc}
  928.      */
  929.     public function unserialize($serialized)
  930.     {
  931.         $this->__initializer__ && $this->__initializer__->__invoke($this'unserialize', [$serialized]);
  932.         return parent::unserialize($serialized);
  933.     }
  934.     /**
  935.      * {@inheritDoc}
  936.      */
  937.     public function getPurchases(): \Doctrine\Common\Collections\Collection
  938.     {
  939.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPurchases', []);
  940.         return parent::getPurchases();
  941.     }
  942.     /**
  943.      * {@inheritDoc}
  944.      */
  945.     public function getActivePurchase(): ?\App\Entity\Purchase
  946.     {
  947.         $this->__initializer__ && $this->__initializer__->__invoke($this'getActivePurchase', []);
  948.         return parent::getActivePurchase();
  949.     }
  950.     /**
  951.      * {@inheritDoc}
  952.      */
  953.     public function addPurchase(\App\Entity\Purchase $order): \App\Entity\User
  954.     {
  955.         $this->__initializer__ && $this->__initializer__->__invoke($this'addPurchase', [$order]);
  956.         return parent::addPurchase($order);
  957.     }
  958.     /**
  959.      * {@inheritDoc}
  960.      */
  961.     public function removePurchase(\App\Entity\Purchase $order): \App\Entity\User
  962.     {
  963.         $this->__initializer__ && $this->__initializer__->__invoke($this'removePurchase', [$order]);
  964.         return parent::removePurchase($order);
  965.     }
  966.     /**
  967.      * {@inheritDoc}
  968.      */
  969.     public function countCouponUses(\App\Entity\Coupon $coupon): int
  970.     {
  971.         $this->__initializer__ && $this->__initializer__->__invoke($this'countCouponUses', [$coupon]);
  972.         return parent::countCouponUses($coupon);
  973.     }
  974.     /**
  975.      * {@inheritDoc}
  976.      */
  977.     public function getComments(): \Doctrine\Common\Collections\Collection
  978.     {
  979.         $this->__initializer__ && $this->__initializer__->__invoke($this'getComments', []);
  980.         return parent::getComments();
  981.     }
  982.     /**
  983.      * {@inheritDoc}
  984.      */
  985.     public function addComment(\App\Entity\Comment $comment): \App\Entity\User
  986.     {
  987.         $this->__initializer__ && $this->__initializer__->__invoke($this'addComment', [$comment]);
  988.         return parent::addComment($comment);
  989.     }
  990.     /**
  991.      * {@inheritDoc}
  992.      */
  993.     public function removeComment(\App\Entity\Comment $comment): \App\Entity\User
  994.     {
  995.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeComment', [$comment]);
  996.         return parent::removeComment($comment);
  997.     }
  998.     /**
  999.      * {@inheritDoc}
  1000.      */
  1001.     public function getTraffic(): \Doctrine\Common\Collections\Collection
  1002.     {
  1003.         $this->__initializer__ && $this->__initializer__->__invoke($this'getTraffic', []);
  1004.         return parent::getTraffic();
  1005.     }
  1006.     /**
  1007.      * {@inheritDoc}
  1008.      */
  1009.     public function addTraffic(\App\Entity\Traffic $traffic): \App\Entity\User
  1010.     {
  1011.         $this->__initializer__ && $this->__initializer__->__invoke($this'addTraffic', [$traffic]);
  1012.         return parent::addTraffic($traffic);
  1013.     }
  1014.     /**
  1015.      * {@inheritDoc}
  1016.      */
  1017.     public function removeTraffic(\App\Entity\Traffic $traffic): \App\Entity\User
  1018.     {
  1019.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeTraffic', [$traffic]);
  1020.         return parent::removeTraffic($traffic);
  1021.     }
  1022.     /**
  1023.      * {@inheritDoc}
  1024.      */
  1025.     public function getContact(): ?\App\Entity\Contact
  1026.     {
  1027.         $this->__initializer__ && $this->__initializer__->__invoke($this'getContact', []);
  1028.         return parent::getContact();
  1029.     }
  1030.     /**
  1031.      * {@inheritDoc}
  1032.      */
  1033.     public function setContact(\App\Entity\Contact $contact NULL): \App\Entity\User
  1034.     {
  1035.         $this->__initializer__ && $this->__initializer__->__invoke($this'setContact', [$contact]);
  1036.         return parent::setContact($contact);
  1037.     }
  1038.     /**
  1039.      * {@inheritDoc}
  1040.      */
  1041.     public function getPollResponses(): \Doctrine\Common\Collections\Collection
  1042.     {
  1043.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPollResponses', []);
  1044.         return parent::getPollResponses();
  1045.     }
  1046.     /**
  1047.      * {@inheritDoc}
  1048.      */
  1049.     public function addPollResponse(\App\Entity\PollResponse $pollResponse): \App\Entity\User
  1050.     {
  1051.         $this->__initializer__ && $this->__initializer__->__invoke($this'addPollResponse', [$pollResponse]);
  1052.         return parent::addPollResponse($pollResponse);
  1053.     }
  1054.     /**
  1055.      * {@inheritDoc}
  1056.      */
  1057.     public function removePollResponse(\App\Entity\PollResponse $pollResponse): \App\Entity\User
  1058.     {
  1059.         $this->__initializer__ && $this->__initializer__->__invoke($this'removePollResponse', [$pollResponse]);
  1060.         return parent::removePollResponse($pollResponse);
  1061.     }
  1062.     /**
  1063.      * {@inheritDoc}
  1064.      */
  1065.     public function getSiteSignedUpOn(): ?int
  1066.     {
  1067.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSiteSignedUpOn', []);
  1068.         return parent::getSiteSignedUpOn();
  1069.     }
  1070.     /**
  1071.      * {@inheritDoc}
  1072.      */
  1073.     public function setSiteSignedUpOn(int $site_signed_up_on): \App\Entity\User
  1074.     {
  1075.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSiteSignedUpOn', [$site_signed_up_on]);
  1076.         return parent::setSiteSignedUpOn($site_signed_up_on);
  1077.     }
  1078.     /**
  1079.      * {@inheritDoc}
  1080.      */
  1081.     public function getAuthorBio(): string
  1082.     {
  1083.         $this->__initializer__ && $this->__initializer__->__invoke($this'getAuthorBio', []);
  1084.         return parent::getAuthorBio();
  1085.     }
  1086.     /**
  1087.      * {@inheritDoc}
  1088.      */
  1089.     public function setAuthorBio(string $author_bio NULL): \App\Entity\User
  1090.     {
  1091.         $this->__initializer__ && $this->__initializer__->__invoke($this'setAuthorBio', [$author_bio]);
  1092.         return parent::setAuthorBio($author_bio);
  1093.     }
  1094. }