/
tmp
/
Upload File
HOME
<?php namespace DoctrineProxies\__CG__\App\Entities; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Branch extends \App\Entities\Branch 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\\Entities\\Branch' . "\0" . 'id', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'name', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'documentId', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'email', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'areaCode', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'phone', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'areaCodeCellPhone', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'cellPhone', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'addressStreet', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'addressNumber', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'addressFloor', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'addressAppartment', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'country', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'state', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'city', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'zipCode', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'image', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'deleted', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'noBranch', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'auth0Id', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'users', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'fees', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'branchUsers', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'retirements', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'branchEmails', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'sponsors', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'enrolls', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'description']; } return ['__isInitialized__', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'id', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'name', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'documentId', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'email', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'areaCode', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'phone', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'areaCodeCellPhone', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'cellPhone', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'addressStreet', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'addressNumber', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'addressFloor', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'addressAppartment', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'country', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'state', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'city', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'zipCode', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'image', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'deleted', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'noBranch', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'auth0Id', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'users', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'fees', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'branchUsers', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'retirements', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'branchEmails', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'sponsors', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'enrolls', '' . "\0" . 'App\\Entities\\Branch' . "\0" . 'description']; } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Branch $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() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __isInitialized() { return $this->__isInitialized__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setInitialized($initialized) { $this->__isInitialized__ = $initialized; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setInitializer(\Closure $initializer = null) { $this->__initializer__ = $initializer; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __getInitializer() { return $this->__initializer__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setCloner(\Closure $cloner = null) { $this->__cloner__ = $cloner; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific cloning logic */ public function __getCloner() { 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() { return self::$lazyPropertiesDefaults; } /** * {@inheritDoc} */ public function properties() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'properties', []); return parent::properties(); } /** * {@inheritDoc} */ public function populateFromArray($fields) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'populateFromArray', [$fields]); return parent::populateFromArray($fields); } /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); return parent::getId(); } /** * {@inheritDoc} */ public function getName() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); return parent::getName(); } /** * {@inheritDoc} */ public function setName($name) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); return parent::setName($name); } /** * {@inheritDoc} */ public function getDocumentId() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDocumentId', []); return parent::getDocumentId(); } /** * {@inheritDoc} */ public function setDocumentId($documentId) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDocumentId', [$documentId]); return parent::setDocumentId($documentId); } /** * {@inheritDoc} */ public function getEmail() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []); return parent::getEmail(); } /** * {@inheritDoc} */ public function setEmail($email) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]); return parent::setEmail($email); } /** * {@inheritDoc} */ public function getAreaCode() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAreaCode', []); return parent::getAreaCode(); } /** * {@inheritDoc} */ public function setAreaCode($areaCode) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAreaCode', [$areaCode]); return parent::setAreaCode($areaCode); } /** * {@inheritDoc} */ public function getPhone() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhone', []); return parent::getPhone(); } /** * {@inheritDoc} */ public function setPhone($phone) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhone', [$phone]); return parent::setPhone($phone); } /** * {@inheritDoc} */ public function getAreaCodeCellPhone() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAreaCodeCellPhone', []); return parent::getAreaCodeCellPhone(); } /** * {@inheritDoc} */ public function setAreaCodeCellPhone($areaCodeCellPhone) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAreaCodeCellPhone', [$areaCodeCellPhone]); return parent::setAreaCodeCellPhone($areaCodeCellPhone); } /** * {@inheritDoc} */ public function getCellPhone() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCellPhone', []); return parent::getCellPhone(); } /** * {@inheritDoc} */ public function setCellPhone($cellPhone) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCellPhone', [$cellPhone]); return parent::setCellPhone($cellPhone); } /** * {@inheritDoc} */ public function getAddressStreet() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddressStreet', []); return parent::getAddressStreet(); } /** * {@inheritDoc} */ public function setAddressStreet($addressStreet) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddressStreet', [$addressStreet]); return parent::setAddressStreet($addressStreet); } /** * {@inheritDoc} */ public function getAddressNumber() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddressNumber', []); return parent::getAddressNumber(); } /** * {@inheritDoc} */ public function setAddressNumber($addressNumber) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddressNumber', [$addressNumber]); return parent::setAddressNumber($addressNumber); } /** * {@inheritDoc} */ public function getAddressFloor() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddressFloor', []); return parent::getAddressFloor(); } /** * {@inheritDoc} */ public function setAddressFloor($addressFloor) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddressFloor', [$addressFloor]); return parent::setAddressFloor($addressFloor); } /** * {@inheritDoc} */ public function getAddressAppartment() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddressAppartment', []); return parent::getAddressAppartment(); } /** * {@inheritDoc} */ public function setAddressAppartment($addressAppartment) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddressAppartment', [$addressAppartment]); return parent::setAddressAppartment($addressAppartment); } /** * {@inheritDoc} */ public function getCountry() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountry', []); return parent::getCountry(); } /** * {@inheritDoc} */ public function setCountry($country) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountry', [$country]); return parent::setCountry($country); } /** * {@inheritDoc} */ public function getState() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getState', []); return parent::getState(); } /** * {@inheritDoc} */ public function setState($state) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setState', [$state]); return parent::setState($state); } /** * {@inheritDoc} */ public function getUserState() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserState', []); return parent::getUserState(); } /** * {@inheritDoc} */ public function setUserState($userState) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserState', [$userState]); return parent::setUserState($userState); } /** * {@inheritDoc} */ public function getFees() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFees', []); return parent::getFees(); } /** * {@inheritDoc} */ public function setFees($fees) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFees', [$fees]); return parent::setFees($fees); } /** * {@inheritDoc} */ public function getCity() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCity', []); return parent::getCity(); } /** * {@inheritDoc} */ public function setCity($city) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCity', [$city]); return parent::setCity($city); } /** * {@inheritDoc} */ public function getZipCode() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getZipCode', []); return parent::getZipCode(); } /** * {@inheritDoc} */ public function setZipCode($zipCode) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setZipCode', [$zipCode]); return parent::setZipCode($zipCode); } /** * {@inheritDoc} */ public function getImage() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getImage', []); return parent::getImage(); } /** * {@inheritDoc} */ public function setImage($image) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setImage', [$image]); return parent::setImage($image); } /** * {@inheritDoc} */ public function getAuth0Id() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAuth0Id', []); return parent::getAuth0Id(); } /** * {@inheritDoc} */ public function setAuth0Id($auth0Id) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAuth0Id', [$auth0Id]); return parent::setAuth0Id($auth0Id); } /** * {@inheritDoc} */ public function getDeleted() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeleted', []); return parent::getDeleted(); } /** * {@inheritDoc} */ public function setDeleted($deleted) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', [$deleted]); return parent::setDeleted($deleted); } /** * {@inheritDoc} */ public function getNoBranch() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNoBranch', []); return parent::getNoBranch(); } /** * {@inheritDoc} */ public function setNoBranch($noBranch) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNoBranch', [$noBranch]); return parent::setNoBranch($noBranch); } /** * {@inheritDoc} */ public function getUsers() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsers', []); return parent::getUsers(); } /** * {@inheritDoc} */ public function setUsers($users) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUsers', [$users]); return parent::setUsers($users); } /** * {@inheritDoc} */ public function getBranchUsers() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBranchUsers', []); return parent::getBranchUsers(); } /** * {@inheritDoc} */ public function setBranchUsers($branchUsers) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBranchUsers', [$branchUsers]); return parent::setBranchUsers($branchUsers); } /** * {@inheritDoc} */ public function getBranchEmails() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBranchEmails', []); return parent::getBranchEmails(); } /** * {@inheritDoc} */ public function setBranchEmails($branchEmails) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBranchEmails', [$branchEmails]); return parent::setBranchEmails($branchEmails); } /** * {@inheritDoc} */ public function addBranchEmail($email) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addBranchEmail', [$email]); return parent::addBranchEmail($email); } /** * {@inheritDoc} */ public function removeBranchEmail($email) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeBranchEmail', [$email]); return parent::removeBranchEmail($email); } /** * {@inheritDoc} */ public function emptyBranchEmails() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'emptyBranchEmails', []); return parent::emptyBranchEmails(); } /** * {@inheritDoc} */ public function getRetirements() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRetirements', []); return parent::getRetirements(); } /** * {@inheritDoc} */ public function setRetirements($retirements) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRetirements', [$retirements]); return parent::setRetirements($retirements); } /** * {@inheritDoc} */ public function getSponsors() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSponsors', []); return parent::getSponsors(); } /** * {@inheritDoc} */ public function setSponsors($sponsors) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSponsors', [$sponsors]); return parent::setSponsors($sponsors); } /** * {@inheritDoc} */ public function getEnrolls() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnrolls', []); return parent::getEnrolls(); } /** * {@inheritDoc} */ public function setEnrolls($enrolls) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnrolls', [$enrolls]); return parent::setEnrolls($enrolls); } /** * {@inheritDoc} */ public function getDescription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []); return parent::getDescription(); } /** * {@inheritDoc} */ public function setDescription($description) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]); return parent::setDescription($description); } /** * {@inheritDoc} */ public function canDelete() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'canDelete', []); return parent::canDelete(); } /** * {@inheritDoc} */ public function getNameError() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNameError', []); return parent::getNameError(); } }