/
tmp
/
Upload File
HOME
<?php namespace DoctrineProxies\__CG__\App\Entities; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Payment extends \App\Entities\Payment 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\\Payment' . "\0" . 'id', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'date', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'user', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'paymentMethod', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'state', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'total', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'file', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'cardToken', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'paymentMethodOrderCode', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'fees', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'logs', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'afipLogs', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'receipts', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'inscription', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'files', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'externalId', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'laboratoryUser', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'errorInvoice']; } return ['__isInitialized__', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'id', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'date', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'user', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'paymentMethod', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'state', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'total', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'file', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'cardToken', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'paymentMethodOrderCode', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'fees', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'logs', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'afipLogs', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'receipts', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'inscription', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'files', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'externalId', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'laboratoryUser', '' . "\0" . 'App\\Entities\\Payment' . "\0" . 'errorInvoice']; } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Payment $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 setDate($date) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDate', [$date]); return parent::setDate($date); } /** * {@inheritDoc} */ public function getDate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDate', []); return parent::getDate(); } /** * {@inheritDoc} */ public function setUser($user) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); return parent::setUser($user); } /** * {@inheritDoc} */ public function getUser() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); return parent::getUser(); } /** * {@inheritDoc} */ public function setPaymentMethod($paymentMethod) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPaymentMethod', [$paymentMethod]); return parent::setPaymentMethod($paymentMethod); } /** * {@inheritDoc} */ public function getPaymentMethod() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPaymentMethod', []); return parent::getPaymentMethod(); } /** * {@inheritDoc} */ public function setState($state) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setState', [$state]); return parent::setState($state); } /** * {@inheritDoc} */ public function getState() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getState', []); return parent::getState(); } /** * {@inheritDoc} */ public function setTotal($total) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTotal', [$total]); return parent::setTotal($total); } /** * {@inheritDoc} */ public function getTotal() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTotal', []); return parent::getTotal(); } /** * {@inheritDoc} */ public function getFile() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFile', []); return parent::getFile(); } /** * {@inheritDoc} */ public function setFile($file) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFile', [$file]); return parent::setFile($file); } /** * {@inheritDoc} */ public function getCardToken() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCardToken', []); return parent::getCardToken(); } /** * {@inheritDoc} */ public function setCardToken($cardToken) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCardToken', [$cardToken]); return parent::setCardToken($cardToken); } /** * {@inheritDoc} */ public function getPaymentMethodOrderCode() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPaymentMethodOrderCode', []); return parent::getPaymentMethodOrderCode(); } /** * {@inheritDoc} */ public function setPaymentMethodOrderCode($paymentMethodOrderCode) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPaymentMethodOrderCode', [$paymentMethodOrderCode]); return parent::setPaymentMethodOrderCode($paymentMethodOrderCode); } /** * {@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 addFee($fee) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addFee', [$fee]); return parent::addFee($fee); } /** * {@inheritDoc} */ public function removeFee($fee) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFee', [$fee]); return parent::removeFee($fee); } /** * {@inheritDoc} */ public function emptyFees() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'emptyFees', []); return parent::emptyFees(); } /** * {@inheritDoc} */ public function getLogs() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLogs', []); return parent::getLogs(); } /** * {@inheritDoc} */ public function setLogs($logs) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLogs', [$logs]); return parent::setLogs($logs); } /** * {@inheritDoc} */ public function getAfipLogs() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAfipLogs', []); return parent::getAfipLogs(); } /** * {@inheritDoc} */ public function setAfipLogs($logs) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAfipLogs', [$logs]); return parent::setAfipLogs($logs); } /** * {@inheritDoc} */ public function getReceipt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReceipt', []); return parent::getReceipt(); } /** * {@inheritDoc} */ public function setReceipt($receipt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReceipt', [$receipt]); return parent::setReceipt($receipt); } /** * {@inheritDoc} */ public function getInscription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getInscription', []); return parent::getInscription(); } /** * {@inheritDoc} */ public function setInscription($inscription) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setInscription', [$inscription]); return parent::setInscription($inscription); } /** * {@inheritDoc} */ public function getConceptsStartDate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getConceptsStartDate', []); return parent::getConceptsStartDate(); } /** * {@inheritDoc} */ public function getConceptsEndDate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getConceptsEndDate', []); return parent::getConceptsEndDate(); } /** * {@inheritDoc} */ public function getFiles() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFiles', []); return parent::getFiles(); } /** * {@inheritDoc} */ public function setFiles($files) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFiles', [$files]); return parent::setFiles($files); } /** * {@inheritDoc} */ public function addFile($path) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addFile', [$path]); return parent::addFile($path); } /** * {@inheritDoc} */ public function removeFile($file) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFile', [$file]); return parent::removeFile($file); } /** * {@inheritDoc} */ public function emptyFiles() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'emptyFiles', []); return parent::emptyFiles(); } /** * {@inheritDoc} */ public function getExternalId() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExternalId', []); return parent::getExternalId(); } /** * {@inheritDoc} */ public function setExternalId($externalId) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExternalId', [$externalId]); return parent::setExternalId($externalId); } /** * {@inheritDoc} */ public function getLaboratoryUser() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLaboratoryUser', []); return parent::getLaboratoryUser(); } /** * {@inheritDoc} */ public function setLaboratoryUser($laboratoryUser) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLaboratoryUser', [$laboratoryUser]); return parent::setLaboratoryUser($laboratoryUser); } /** * {@inheritDoc} */ public function getErrorInvoice() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getErrorInvoice', []); return parent::getErrorInvoice(); } /** * {@inheritDoc} */ public function setErrorInvoice($errorInvoice) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setErrorInvoice', [$errorInvoice]); return parent::setErrorInvoice($errorInvoice); } /** * {@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(); } }