%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emtnaeewxm/www/var/cache/prod/doctrine/orm/Proxies/
Upload File :
Create Path :
Current File : /home/emtnaeewxm/www/var/cache/prod/doctrine/orm/Proxies/__CG__EEMVenteBundleEntityVente.php

<?php

namespace Proxies\__CG__\EEM\VenteBundle\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Vente extends \EEM\VenteBundle\Entity\Vente 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\Persistence\Proxy::__setInitializer
     */
    public $__initializer__;

    /**
     * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
     *
     * @see \Doctrine\Common\Persistence\Proxy::__setCloner
     */
    public $__cloner__;

    /**
     * @var boolean flag indicating if this object was already initialized
     *
     * @see \Doctrine\Common\Persistence\Proxy::__isInitialized
     */
    public $__isInitialized__ = false;

    /**
     * @var array properties to be lazy loaded, with keys being the property
     *            names and values being their default values
     *
     * @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
     */
    public static $lazyPropertiesDefaults = [];



    /**
     * @param \Closure $initializer
     * @param \Closure $cloner
     */
    public function __construct($initializer = null, $cloner = null)
    {

        $this->__initializer__ = $initializer;
        $this->__cloner__      = $cloner;
    }







    /**
     * 
     * @return array
     */
    public function __sleep()
    {
        if ($this->__isInitialized__) {
            return ['__isInitialized__', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'id', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'client', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'dateVente', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'ligneVentes', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'benefice', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'chiffreRestant', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'chiffreRestantGros', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'chiffreRestantMagasin', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'type', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'valider', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'piece'];
        }

        return ['__isInitialized__', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'id', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'client', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'dateVente', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'ligneVentes', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'benefice', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'chiffreRestant', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'chiffreRestantGros', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'chiffreRestantMagasin', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'type', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'valider', '' . "\0" . 'EEM\\VenteBundle\\Entity\\Vente' . "\0" . 'piece'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (Vente $proxy) {
                $proxy->__setInitializer(null);
                $proxy->__setCloner(null);

                $existingProperties = get_object_vars($proxy);

                foreach ($proxy->__getLazyProperties() 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
     * @static
     */
    public function __getLazyProperties()
    {
        return self::$lazyPropertiesDefaults;
    }

    
    /**
     * {@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 addLigneVente(\EEM\VenteBundle\Entity\LigneVente $ligneVente)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addLigneVente', [$ligneVente]);

        return parent::addLigneVente($ligneVente);
    }

    /**
     * {@inheritDoc}
     */
    public function removeLigneVente(\EEM\VenteBundle\Entity\LigneVente $ligneVente)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeLigneVente', [$ligneVente]);

        return parent::removeLigneVente($ligneVente);
    }

    /**
     * {@inheritDoc}
     */
    public function getLigneVentes()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLigneVentes', []);

        return parent::getLigneVentes();
    }

    /**
     * {@inheritDoc}
     */
    public function setDateVente($dateVente)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateVente', [$dateVente]);

        return parent::setDateVente($dateVente);
    }

    /**
     * {@inheritDoc}
     */
    public function getDateVente()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateVente', []);

        return parent::getDateVente();
    }

    /**
     * {@inheritDoc}
     */
    public function setChiffreRestant($chiffreRestant)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChiffreRestant', [$chiffreRestant]);

        return parent::setChiffreRestant($chiffreRestant);
    }

    /**
     * {@inheritDoc}
     */
    public function getChiffreRestant()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChiffreRestant', []);

        return parent::getChiffreRestant();
    }

    /**
     * {@inheritDoc}
     */
    public function setBenefice($benefice)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBenefice', [$benefice]);

        return parent::setBenefice($benefice);
    }

    /**
     * {@inheritDoc}
     */
    public function getBenefice()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBenefice', []);

        return parent::getBenefice();
    }

    /**
     * {@inheritDoc}
     */
    public function setChiffreRestantGros($chiffreRestantGros)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChiffreRestantGros', [$chiffreRestantGros]);

        return parent::setChiffreRestantGros($chiffreRestantGros);
    }

    /**
     * {@inheritDoc}
     */
    public function getChiffreRestantGros()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChiffreRestantGros', []);

        return parent::getChiffreRestantGros();
    }

    /**
     * {@inheritDoc}
     */
    public function setChiffreRestantMagasin($chiffreRestantMagasin)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChiffreRestantMagasin', [$chiffreRestantMagasin]);

        return parent::setChiffreRestantMagasin($chiffreRestantMagasin);
    }

    /**
     * {@inheritDoc}
     */
    public function getChiffreRestantMagasin()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChiffreRestantMagasin', []);

        return parent::getChiffreRestantMagasin();
    }

    /**
     * {@inheritDoc}
     */
    public function setType($type)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);

        return parent::setType($type);
    }

    /**
     * {@inheritDoc}
     */
    public function getType()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);

        return parent::getType();
    }

    /**
     * {@inheritDoc}
     */
    public function setClient(\EEM\TraiteBundle\Entity\Client $client = NULL)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setClient', [$client]);

        return parent::setClient($client);
    }

    /**
     * {@inheritDoc}
     */
    public function getClient()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getClient', []);

        return parent::getClient();
    }

    /**
     * {@inheritDoc}
     */
    public function setValider($valider)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValider', [$valider]);

        return parent::setValider($valider);
    }

    /**
     * {@inheritDoc}
     */
    public function getValider()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValider', []);

        return parent::getValider();
    }

    /**
     * {@inheritDoc}
     */
    public function setPiece(\EEM\PieceBundle\Entity\Piece $piece = NULL)
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPiece', [$piece]);

        return parent::setPiece($piece);
    }

    /**
     * {@inheritDoc}
     */
    public function getPiece()
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPiece', []);

        return parent::getPiece();
    }

}

Zerion Mini Shell 1.0