var/cache/dev/doctrine/orm/Proxies/__CG__AppEntityDeliveryMethod.php line 8

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 DeliveryMethod extends \App\Entity\DeliveryMethod 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\Common\Persistence\Proxy::__isInitialized
  26.      */
  27.     public $__isInitialized__ false;
  28.     /**
  29.      * @var array properties to be lazy loaded, with keys being the property
  30.      *            names and values being their default values
  31.      *
  32.      * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
  33.      */
  34.     public static $lazyPropertiesDefaults = [];
  35.     /**
  36.      * @param \Closure $initializer
  37.      * @param \Closure $cloner
  38.      */
  39.     public function __construct($initializer null$cloner null)
  40.     {
  41.         $this->__initializer__ $initializer;
  42.         $this->__cloner__      $cloner;
  43.     }
  44.     /**
  45.      * 
  46.      * @return array
  47.      */
  48.     public function __sleep()
  49.     {
  50.         if ($this->__isInitialized__) {
  51.             return ['__isInitialized__''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'id''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'averageDays''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'firstItem''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'additionalItem''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'product''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'serviceId''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'valid''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'companyDefaultShipping''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'freeAboveATotalOf''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'fixedPrice''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'pickupSchedule''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'pickupAddress''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'isAPickup''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'pickupLocationId''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'withPacking'];
  52.         }
  53.         return ['__isInitialized__''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'id''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'averageDays''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'firstItem''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'additionalItem''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'product''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'serviceId''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'valid''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'companyDefaultShipping''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'freeAboveATotalOf''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'fixedPrice''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'pickupSchedule''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'pickupAddress''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'isAPickup''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'pickupLocationId''' "\0" 'App\\Entity\\DeliveryMethod' "\0" 'withPacking'];
  54.     }
  55.     /**
  56.      * 
  57.      */
  58.     public function __wakeup()
  59.     {
  60.         if ( ! $this->__isInitialized__) {
  61.             $this->__initializer__ = function (DeliveryMethod $proxy) {
  62.                 $proxy->__setInitializer(null);
  63.                 $proxy->__setCloner(null);
  64.                 $existingProperties get_object_vars($proxy);
  65.                 foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
  66.                     if ( ! array_key_exists($property$existingProperties)) {
  67.                         $proxy->$property $defaultValue;
  68.                     }
  69.                 }
  70.             };
  71.         }
  72.     }
  73.     /**
  74.      * 
  75.      */
  76.     public function __clone()
  77.     {
  78.         $this->__cloner__ && $this->__cloner__->__invoke($this'__clone', []);
  79.     }
  80.     /**
  81.      * Forces initialization of the proxy
  82.      */
  83.     public function __load()
  84.     {
  85.         $this->__initializer__ && $this->__initializer__->__invoke($this'__load', []);
  86.     }
  87.     /**
  88.      * {@inheritDoc}
  89.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  90.      */
  91.     public function __isInitialized()
  92.     {
  93.         return $this->__isInitialized__;
  94.     }
  95.     /**
  96.      * {@inheritDoc}
  97.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  98.      */
  99.     public function __setInitialized($initialized)
  100.     {
  101.         $this->__isInitialized__ $initialized;
  102.     }
  103.     /**
  104.      * {@inheritDoc}
  105.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  106.      */
  107.     public function __setInitializer(\Closure $initializer null)
  108.     {
  109.         $this->__initializer__ $initializer;
  110.     }
  111.     /**
  112.      * {@inheritDoc}
  113.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  114.      */
  115.     public function __getInitializer()
  116.     {
  117.         return $this->__initializer__;
  118.     }
  119.     /**
  120.      * {@inheritDoc}
  121.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  122.      */
  123.     public function __setCloner(\Closure $cloner null)
  124.     {
  125.         $this->__cloner__ $cloner;
  126.     }
  127.     /**
  128.      * {@inheritDoc}
  129.      * @internal generated method: use only when explicitly handling proxy specific cloning logic
  130.      */
  131.     public function __getCloner()
  132.     {
  133.         return $this->__cloner__;
  134.     }
  135.     /**
  136.      * {@inheritDoc}
  137.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  138.      * @static
  139.      */
  140.     public function __getLazyProperties()
  141.     {
  142.         return self::$lazyPropertiesDefaults;
  143.     }
  144.     
  145.     /**
  146.      * {@inheritDoc}
  147.      */
  148.     public function getId()
  149.     {
  150.         if ($this->__isInitialized__ === false) {
  151.             return (int)  parent::getId();
  152.         }
  153.         $this->__initializer__ && $this->__initializer__->__invoke($this'getId', []);
  154.         return parent::getId();
  155.     }
  156.     /**
  157.      * {@inheritDoc}
  158.      */
  159.     public function getServiceName()
  160.     {
  161.         $this->__initializer__ && $this->__initializer__->__invoke($this'getServiceName', []);
  162.         return parent::getServiceName();
  163.     }
  164.     /**
  165.      * {@inheritDoc}
  166.      */
  167.     public function getDeliveryDays()
  168.     {
  169.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDeliveryDays', []);
  170.         return parent::getDeliveryDays();
  171.     }
  172.     /**
  173.      * {@inheritDoc}
  174.      */
  175.     public function getAverageDays(): ?int
  176.     {
  177.         $this->__initializer__ && $this->__initializer__->__invoke($this'getAverageDays', []);
  178.         return parent::getAverageDays();
  179.     }
  180.     /**
  181.      * {@inheritDoc}
  182.      */
  183.     public function setAverageDays(int $averageDays): \App\Entity\DeliveryMethod
  184.     {
  185.         $this->__initializer__ && $this->__initializer__->__invoke($this'setAverageDays', [$averageDays]);
  186.         return parent::setAverageDays($averageDays);
  187.     }
  188.     /**
  189.      * {@inheritDoc}
  190.      */
  191.     public function getPickupLocationId(): ?int
  192.     {
  193.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPickupLocationId', []);
  194.         return parent::getPickupLocationId();
  195.     }
  196.     /**
  197.      * {@inheritDoc}
  198.      */
  199.     public function setPickupLocationId(int $pickupLocationId): \App\Entity\DeliveryMethod
  200.     {
  201.         $this->__initializer__ && $this->__initializer__->__invoke($this'setPickupLocationId', [$pickupLocationId]);
  202.         return parent::setPickupLocationId($pickupLocationId);
  203.     }
  204.     /**
  205.      * {@inheritDoc}
  206.      */
  207.     public function getFirstItem(): ?float
  208.     {
  209.         $this->__initializer__ && $this->__initializer__->__invoke($this'getFirstItem', []);
  210.         return parent::getFirstItem();
  211.     }
  212.     /**
  213.      * {@inheritDoc}
  214.      */
  215.     public function setFirstItem(?float $firstItem): \App\Entity\DeliveryMethod
  216.     {
  217.         $this->__initializer__ && $this->__initializer__->__invoke($this'setFirstItem', [$firstItem]);
  218.         return parent::setFirstItem($firstItem);
  219.     }
  220.     /**
  221.      * {@inheritDoc}
  222.      */
  223.     public function getAdditionalItem(): ?float
  224.     {
  225.         $this->__initializer__ && $this->__initializer__->__invoke($this'getAdditionalItem', []);
  226.         return parent::getAdditionalItem();
  227.     }
  228.     /**
  229.      * {@inheritDoc}
  230.      */
  231.     public function setAdditionalItem(?float $additionalItem): \App\Entity\DeliveryMethod
  232.     {
  233.         $this->__initializer__ && $this->__initializer__->__invoke($this'setAdditionalItem', [$additionalItem]);
  234.         return parent::setAdditionalItem($additionalItem);
  235.     }
  236.     /**
  237.      * {@inheritDoc}
  238.      */
  239.     public function getProduct(): ?\App\Entity\Product
  240.     {
  241.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProduct', []);
  242.         return parent::getProduct();
  243.     }
  244.     /**
  245.      * {@inheritDoc}
  246.      */
  247.     public function setProduct(?\App\Entity\Product $product): \App\Entity\DeliveryMethod
  248.     {
  249.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProduct', [$product]);
  250.         return parent::setProduct($product);
  251.     }
  252.     /**
  253.      * {@inheritDoc}
  254.      */
  255.     public function getServiceId(): ?int
  256.     {
  257.         $this->__initializer__ && $this->__initializer__->__invoke($this'getServiceId', []);
  258.         return parent::getServiceId();
  259.     }
  260.     /**
  261.      * {@inheritDoc}
  262.      */
  263.     public function setServiceId(int $serviceId): \App\Entity\DeliveryMethod
  264.     {
  265.         $this->__initializer__ && $this->__initializer__->__invoke($this'setServiceId', [$serviceId]);
  266.         return parent::setServiceId($serviceId);
  267.     }
  268.     /**
  269.      * {@inheritDoc}
  270.      */
  271.     public function getValid(): ?bool
  272.     {
  273.         $this->__initializer__ && $this->__initializer__->__invoke($this'getValid', []);
  274.         return parent::getValid();
  275.     }
  276.     /**
  277.      * {@inheritDoc}
  278.      */
  279.     public function setValid(bool $valid): \App\Entity\DeliveryMethod
  280.     {
  281.         $this->__initializer__ && $this->__initializer__->__invoke($this'setValid', [$valid]);
  282.         return parent::setValid($valid);
  283.     }
  284.     /**
  285.      * {@inheritDoc}
  286.      */
  287.     public function getCompanyDefaultShipping(): ?\App\Entity\CompanyDefaultShipping
  288.     {
  289.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCompanyDefaultShipping', []);
  290.         return parent::getCompanyDefaultShipping();
  291.     }
  292.     /**
  293.      * {@inheritDoc}
  294.      */
  295.     public function setCompanyDefaultShipping(?\App\Entity\CompanyDefaultShipping $companyDefaultShipping): \App\Entity\DeliveryMethod
  296.     {
  297.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCompanyDefaultShipping', [$companyDefaultShipping]);
  298.         return parent::setCompanyDefaultShipping($companyDefaultShipping);
  299.     }
  300.     /**
  301.      * {@inheritDoc}
  302.      */
  303.     public function getFreeAboveATotalOf(): ?float
  304.     {
  305.         $this->__initializer__ && $this->__initializer__->__invoke($this'getFreeAboveATotalOf', []);
  306.         return parent::getFreeAboveATotalOf();
  307.     }
  308.     /**
  309.      * {@inheritDoc}
  310.      */
  311.     public function setFreeAboveATotalOf(?float $freeAboveATotalOf): \App\Entity\DeliveryMethod
  312.     {
  313.         $this->__initializer__ && $this->__initializer__->__invoke($this'setFreeAboveATotalOf', [$freeAboveATotalOf]);
  314.         return parent::setFreeAboveATotalOf($freeAboveATotalOf);
  315.     }
  316.     /**
  317.      * {@inheritDoc}
  318.      */
  319.     public function getFixedPrice(): ?float
  320.     {
  321.         $this->__initializer__ && $this->__initializer__->__invoke($this'getFixedPrice', []);
  322.         return parent::getFixedPrice();
  323.     }
  324.     /**
  325.      * {@inheritDoc}
  326.      */
  327.     public function setFixedPrice(?float $fixedPrice): \App\Entity\DeliveryMethod
  328.     {
  329.         $this->__initializer__ && $this->__initializer__->__invoke($this'setFixedPrice', [$fixedPrice]);
  330.         return parent::setFixedPrice($fixedPrice);
  331.     }
  332.     /**
  333.      * {@inheritDoc}
  334.      */
  335.     public function getDisplayPrice()
  336.     {
  337.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDisplayPrice', []);
  338.         return parent::getDisplayPrice();
  339.     }
  340.     /**
  341.      * {@inheritDoc}
  342.      */
  343.     public function __toString()
  344.     {
  345.         $this->__initializer__ && $this->__initializer__->__invoke($this'__toString', []);
  346.         return parent::__toString();
  347.     }
  348.     /**
  349.      * {@inheritDoc}
  350.      */
  351.     public function getPickupSchedule(): ?string
  352.     {
  353.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPickupSchedule', []);
  354.         return parent::getPickupSchedule();
  355.     }
  356.     /**
  357.      * {@inheritDoc}
  358.      */
  359.     public function setPickupSchedule(?string $pickupSchedule): \App\Entity\DeliveryMethod
  360.     {
  361.         $this->__initializer__ && $this->__initializer__->__invoke($this'setPickupSchedule', [$pickupSchedule]);
  362.         return parent::setPickupSchedule($pickupSchedule);
  363.     }
  364.     /**
  365.      * {@inheritDoc}
  366.      */
  367.     public function getPickupAddress(): ?string
  368.     {
  369.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPickupAddress', []);
  370.         return parent::getPickupAddress();
  371.     }
  372.     /**
  373.      * {@inheritDoc}
  374.      */
  375.     public function setPickupAddress(?string $pickupAddress): \App\Entity\DeliveryMethod
  376.     {
  377.         $this->__initializer__ && $this->__initializer__->__invoke($this'setPickupAddress', [$pickupAddress]);
  378.         return parent::setPickupAddress($pickupAddress);
  379.     }
  380.     /**
  381.      * {@inheritDoc}
  382.      */
  383.     public function getIsAPickup(): ?bool
  384.     {
  385.         $this->__initializer__ && $this->__initializer__->__invoke($this'getIsAPickup', []);
  386.         return parent::getIsAPickup();
  387.     }
  388.     /**
  389.      * {@inheritDoc}
  390.      */
  391.     public function setIsAPickup(bool $isAPickup): \App\Entity\DeliveryMethod
  392.     {
  393.         $this->__initializer__ && $this->__initializer__->__invoke($this'setIsAPickup', [$isAPickup]);
  394.         return parent::setIsAPickup($isAPickup);
  395.     }
  396.     /**
  397.      * {@inheritDoc}
  398.      */
  399.     public function getWithPacking(): bool
  400.     {
  401.         $this->__initializer__ && $this->__initializer__->__invoke($this'getWithPacking', []);
  402.         return parent::getWithPacking();
  403.     }
  404.     /**
  405.      * {@inheritDoc}
  406.      */
  407.     public function setWithPacking(bool $withPacking): \App\Entity\DeliveryMethod
  408.     {
  409.         $this->__initializer__ && $this->__initializer__->__invoke($this'setWithPacking', [$withPacking]);
  410.         return parent::setWithPacking($withPacking);
  411.     }
  412. }