<?php

namespace Proxies\__CG__\Sulu\Bundle\ReferenceBundle\Domain\Model;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Reference extends \Sulu\Bundle\ReferenceBundle\Domain\Model\Reference implements \Doctrine\ORM\Proxy\InternalProxy
{
    use \Symfony\Component\VarExporter\LazyGhostTrait {
        initializeLazyObject as __load;
        setLazyObjectAsInitialized as public __setInitialized;
        isLazyObjectInitialized as private;
        createLazyGhost as private;
        resetLazyObject as private;
    }

    private const LAZY_OBJECT_PROPERTY_SCOPES = [
        "\0".'*'."\0".'changed' => [parent::class, 'changed', null, 8],
        "\0".'*'."\0".'created' => [parent::class, 'created', null, 8],
        "\0".parent::class."\0".'id' => [parent::class, 'id', null, 16],
        "\0".parent::class."\0".'referenceContext' => [parent::class, 'referenceContext', null, 16],
        "\0".parent::class."\0".'referenceLocale' => [parent::class, 'referenceLocale', null, 16],
        "\0".parent::class."\0".'referenceProperty' => [parent::class, 'referenceProperty', null, 16],
        "\0".parent::class."\0".'referenceResourceId' => [parent::class, 'referenceResourceId', null, 16],
        "\0".parent::class."\0".'referenceResourceKey' => [parent::class, 'referenceResourceKey', null, 16],
        "\0".parent::class."\0".'referenceRouterAttributes' => [parent::class, 'referenceRouterAttributes', null, 16],
        "\0".parent::class."\0".'referenceTitle' => [parent::class, 'referenceTitle', null, 16],
        "\0".parent::class."\0".'resourceId' => [parent::class, 'resourceId', null, 16],
        "\0".parent::class."\0".'resourceKey' => [parent::class, 'resourceKey', null, 16],
        'changed' => [parent::class, 'changed', null, 8],
        'created' => [parent::class, 'created', null, 8],
        'id' => [parent::class, 'id', null, 16],
        'referenceContext' => [parent::class, 'referenceContext', null, 16],
        'referenceLocale' => [parent::class, 'referenceLocale', null, 16],
        'referenceProperty' => [parent::class, 'referenceProperty', null, 16],
        'referenceResourceId' => [parent::class, 'referenceResourceId', null, 16],
        'referenceResourceKey' => [parent::class, 'referenceResourceKey', null, 16],
        'referenceRouterAttributes' => [parent::class, 'referenceRouterAttributes', null, 16],
        'referenceTitle' => [parent::class, 'referenceTitle', null, 16],
        'resourceId' => [parent::class, 'resourceId', null, 16],
        'resourceKey' => [parent::class, 'resourceKey', null, 16],
    ];

    public function __isInitialized(): bool
    {
        return isset($this->lazyObjectState) && $this->isLazyObjectInitialized();
    }

    public function __serialize(): array
    {
        $properties = (array) $this;
        unset($properties["\0" . self::class . "\0lazyObjectState"]);

        return $properties;
    }
}
