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

Open in your IDE?
  1. <?php
  2. namespace Proxies\__CG__\Eccube\Entity\Master;
  3. /**
  4.  * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5.  */
  6. class Job extends \Eccube\Entity\Master\Job 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.      * {@inheritDoc}
  47.      * @param string $name
  48.      */
  49.     public function __get($name)
  50.     {
  51.         $this->__initializer__ && $this->__initializer__->__invoke($this'__get', [$name]);
  52.         return parent::__get($name);
  53.     }
  54.     /**
  55.      * {@inheritDoc}
  56.      * @param string $name
  57.      * @param mixed  $value
  58.      */
  59.     public function __set($name$value)
  60.     {
  61.         $this->__initializer__ && $this->__initializer__->__invoke($this'__set', [$name$value]);
  62.         return parent::__set($name$value);
  63.     }
  64.     /**
  65.      * 
  66.      * @return array
  67.      */
  68.     public function __sleep()
  69.     {
  70.         if ($this->__isInitialized__) {
  71.             return ['__isInitialized__''id''name''sort_no'];
  72.         }
  73.         return ['__isInitialized__''id''name''sort_no'];
  74.     }
  75.     /**
  76.      * 
  77.      */
  78.     public function __wakeup()
  79.     {
  80.         if ( ! $this->__isInitialized__) {
  81.             $this->__initializer__ = function (Job $proxy) {
  82.                 $proxy->__setInitializer(null);
  83.                 $proxy->__setCloner(null);
  84.                 $existingProperties get_object_vars($proxy);
  85.                 foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
  86.                     if ( ! array_key_exists($property$existingProperties)) {
  87.                         $proxy->$property $defaultValue;
  88.                     }
  89.                 }
  90.             };
  91.         }
  92.     }
  93.     /**
  94.      * 
  95.      */
  96.     public function __clone()
  97.     {
  98.         $this->__cloner__ && $this->__cloner__->__invoke($this'__clone', []);
  99.     }
  100.     /**
  101.      * Forces initialization of the proxy
  102.      */
  103.     public function __load(): void
  104.     {
  105.         $this->__initializer__ && $this->__initializer__->__invoke($this'__load', []);
  106.     }
  107.     /**
  108.      * {@inheritDoc}
  109.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  110.      */
  111.     public function __isInitialized(): bool
  112.     {
  113.         return $this->__isInitialized__;
  114.     }
  115.     /**
  116.      * {@inheritDoc}
  117.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  118.      */
  119.     public function __setInitialized($initialized): void
  120.     {
  121.         $this->__isInitialized__ $initialized;
  122.     }
  123.     /**
  124.      * {@inheritDoc}
  125.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  126.      */
  127.     public function __setInitializer(\Closure $initializer null): void
  128.     {
  129.         $this->__initializer__ $initializer;
  130.     }
  131.     /**
  132.      * {@inheritDoc}
  133.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  134.      */
  135.     public function __getInitializer(): ?\Closure
  136.     {
  137.         return $this->__initializer__;
  138.     }
  139.     /**
  140.      * {@inheritDoc}
  141.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  142.      */
  143.     public function __setCloner(\Closure $cloner null): void
  144.     {
  145.         $this->__cloner__ $cloner;
  146.     }
  147.     /**
  148.      * {@inheritDoc}
  149.      * @internal generated method: use only when explicitly handling proxy specific cloning logic
  150.      */
  151.     public function __getCloner(): ?\Closure
  152.     {
  153.         return $this->__cloner__;
  154.     }
  155.     /**
  156.      * {@inheritDoc}
  157.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  158.      * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
  159.      * @static
  160.      */
  161.     public function __getLazyProperties(): array
  162.     {
  163.         return self::$lazyPropertiesDefaults;
  164.     }
  165.     
  166.     /**
  167.      * {@inheritDoc}
  168.      */
  169.     public function __toString()
  170.     {
  171.         $this->__initializer__ && $this->__initializer__->__invoke($this'__toString', []);
  172.         return parent::__toString();
  173.     }
  174.     /**
  175.      * {@inheritDoc}
  176.      */
  177.     public function setId($id)
  178.     {
  179.         $this->__initializer__ && $this->__initializer__->__invoke($this'setId', [$id]);
  180.         return parent::setId($id);
  181.     }
  182.     /**
  183.      * {@inheritDoc}
  184.      */
  185.     public function getId()
  186.     {
  187.         if ($this->__isInitialized__ === false) {
  188.             return (int)  parent::getId();
  189.         }
  190.         $this->__initializer__ && $this->__initializer__->__invoke($this'getId', []);
  191.         return parent::getId();
  192.     }
  193.     /**
  194.      * {@inheritDoc}
  195.      */
  196.     public function setName($name)
  197.     {
  198.         $this->__initializer__ && $this->__initializer__->__invoke($this'setName', [$name]);
  199.         return parent::setName($name);
  200.     }
  201.     /**
  202.      * {@inheritDoc}
  203.      */
  204.     public function getName()
  205.     {
  206.         $this->__initializer__ && $this->__initializer__->__invoke($this'getName', []);
  207.         return parent::getName();
  208.     }
  209.     /**
  210.      * {@inheritDoc}
  211.      */
  212.     public function setSortNo($sortNo)
  213.     {
  214.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSortNo', [$sortNo]);
  215.         return parent::setSortNo($sortNo);
  216.     }
  217.     /**
  218.      * {@inheritDoc}
  219.      */
  220.     public function getSortNo()
  221.     {
  222.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSortNo', []);
  223.         return parent::getSortNo();
  224.     }
  225.     /**
  226.      * {@inheritDoc}
  227.      */
  228.     public function offsetExists($offset)
  229.     {
  230.         $this->__initializer__ && $this->__initializer__->__invoke($this'offsetExists', [$offset]);
  231.         return parent::offsetExists($offset);
  232.     }
  233.     /**
  234.      * {@inheritDoc}
  235.      */
  236.     public function offsetSet($offset$value)
  237.     {
  238.         $this->__initializer__ && $this->__initializer__->__invoke($this'offsetSet', [$offset$value]);
  239.         return parent::offsetSet($offset$value);
  240.     }
  241.     /**
  242.      * {@inheritDoc}
  243.      */
  244.     public function offsetGet($offset)
  245.     {
  246.         $this->__initializer__ && $this->__initializer__->__invoke($this'offsetGet', [$offset]);
  247.         return parent::offsetGet($offset);
  248.     }
  249.     /**
  250.      * {@inheritDoc}
  251.      */
  252.     public function offsetUnset($offset)
  253.     {
  254.         $this->__initializer__ && $this->__initializer__->__invoke($this'offsetUnset', [$offset]);
  255.         return parent::offsetUnset($offset);
  256.     }
  257.     /**
  258.      * {@inheritDoc}
  259.      */
  260.     public function setPropertiesFromArray(array $arrProps, array $excludeAttribute = array (
  261. ), \ReflectionClass $parentClass NULL)
  262.     {
  263.         $this->__initializer__ && $this->__initializer__->__invoke($this'setPropertiesFromArray', [$arrProps$excludeAttribute$parentClass]);
  264.         return parent::setPropertiesFromArray($arrProps$excludeAttribute$parentClass);
  265.     }
  266.     /**
  267.      * {@inheritDoc}
  268.      */
  269.     public function toArray(array $excludeAttribute = array (
  270.   => '__initializer__',
  271.   => '__cloner__',
  272.   => '__isInitialized__',
  273. ), \ReflectionClass $parentClass NULL)
  274.     {
  275.         $this->__initializer__ && $this->__initializer__->__invoke($this'toArray', [$excludeAttribute$parentClass]);
  276.         return parent::toArray($excludeAttribute$parentClass);
  277.     }
  278.     /**
  279.      * {@inheritDoc}
  280.      */
  281.     public function toNormalizedArray(array $excludeAttribute = array (
  282.   => '__initializer__',
  283.   => '__cloner__',
  284.   => '__isInitialized__',
  285. ))
  286.     {
  287.         $this->__initializer__ && $this->__initializer__->__invoke($this'toNormalizedArray', [$excludeAttribute]);
  288.         return parent::toNormalizedArray($excludeAttribute);
  289.     }
  290.     /**
  291.      * {@inheritDoc}
  292.      */
  293.     public function toJSON(array $excludeAttribute = array (
  294.   => '__initializer__',
  295.   => '__cloner__',
  296.   => '__isInitialized__',
  297. ))
  298.     {
  299.         $this->__initializer__ && $this->__initializer__->__invoke($this'toJSON', [$excludeAttribute]);
  300.         return parent::toJSON($excludeAttribute);
  301.     }
  302.     /**
  303.      * {@inheritDoc}
  304.      */
  305.     public function toXML(array $excludeAttribute = array (
  306.   => '__initializer__',
  307.   => '__cloner__',
  308.   => '__isInitialized__',
  309. ))
  310.     {
  311.         $this->__initializer__ && $this->__initializer__->__invoke($this'toXML', [$excludeAttribute]);
  312.         return parent::toXML($excludeAttribute);
  313.     }
  314.     /**
  315.      * {@inheritDoc}
  316.      */
  317.     public function copyProperties($srcObject, array $excludeAttribute = array (
  318. ))
  319.     {
  320.         $this->__initializer__ && $this->__initializer__->__invoke($this'copyProperties', [$srcObject$excludeAttribute]);
  321.         return parent::copyProperties($srcObject$excludeAttribute);
  322.     }
  323.     /**
  324.      * {@inheritDoc}
  325.      */
  326.     public function getEntityIdentifierAsArray(\Eccube\Entity\AbstractEntity $Entity)
  327.     {
  328.         $this->__initializer__ && $this->__initializer__->__invoke($this'getEntityIdentifierAsArray', [$Entity]);
  329.         return parent::getEntityIdentifierAsArray($Entity);
  330.     }
  331. }