<?php

namespace Proxies\__CG__\OfficeBrain\Bundle\QuickQuoteBundle\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class QuickQuoteGuestUser extends \OfficeBrain\Bundle\QuickQuoteBundle\Entity\QuickQuoteGuestUser 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" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'id', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'firstName', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'lastName', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'email', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'zipcode', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'phone', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'companyName', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'country', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'state', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'city', 'quickQuote'];
        }

        return ['__isInitialized__', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'id', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'firstName', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'lastName', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'email', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'zipcode', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'phone', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'companyName', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'country', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'state', '' . "\0" . 'OfficeBrain\\Bundle\\QuickQuoteBundle\\Entity\\QuickQuoteGuestUser' . "\0" . 'city', 'quickQuote'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (QuickQuoteGuestUser $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  parent::getId();
        }


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

        return parent::getId();
    }

    /**
     * {@inheritDoc}
     */
    public function setFirstName($firstName)
    {

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

        return parent::setFirstName($firstName);
    }

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

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

        return parent::getFirstName();
    }

    /**
     * {@inheritDoc}
     */
    public function setLastName($lastName)
    {

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

        return parent::setLastName($lastName);
    }

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

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

        return parent::getLastName();
    }

    /**
     * {@inheritDoc}
     */
    public function setEmail($email)
    {

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

        return parent::setEmail($email);
    }

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

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

        return parent::getEmail();
    }

    /**
     * {@inheritDoc}
     */
    public function setZipcode($zipcode)
    {

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

        return parent::setZipcode($zipcode);
    }

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

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

        return parent::getZipcode();
    }

    /**
     * {@inheritDoc}
     */
    public function setPhone($phone)
    {

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

        return parent::setPhone($phone);
    }

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

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

        return parent::getPhone();
    }

    /**
     * {@inheritDoc}
     */
    public function setCompanyName($companyName)
    {

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

        return parent::setCompanyName($companyName);
    }

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

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

        return parent::getCompanyName();
    }

    /**
     * {@inheritDoc}
     */
    public function setCountry($country)
    {

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

        return parent::setCountry($country);
    }

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

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

        return parent::getCountry();
    }

    /**
     * {@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 setCity($city)
    {

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

        return parent::setCity($city);
    }

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

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

        return parent::getCity();
    }

    /**
     * {@inheritDoc}
     */
    public function setQuickQuote(\OfficeBrain\Bundle\QuickQuoteBundle\Entity\QuickQuote $quickQuote)
    {

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

        return parent::setQuickQuote($quickQuote);
    }

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

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

        return parent::getQuickQuote();
    }

}
