<?php

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

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class PreviewLink extends \Sulu\Bundle\PreviewBundle\Domain\Model\PreviewLink 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".parent::class."\0".'id' => [parent::class, 'id', null, 16],
        "\0".parent::class."\0".'lastVisit' => [parent::class, 'lastVisit', null, 16],
        "\0".parent::class."\0".'locale' => [parent::class, 'locale', null, 16],
        "\0".parent::class."\0".'options' => [parent::class, 'options', null, 16],
        "\0".parent::class."\0".'resourceId' => [parent::class, 'resourceId', null, 16],
        "\0".parent::class."\0".'resourceKey' => [parent::class, 'resourceKey', null, 16],
        "\0".parent::class."\0".'token' => [parent::class, 'token', null, 16],
        "\0".parent::class."\0".'visitCount' => [parent::class, 'visitCount', null, 16],
        'id' => [parent::class, 'id', null, 16],
        'lastVisit' => [parent::class, 'lastVisit', null, 16],
        'locale' => [parent::class, 'locale', null, 16],
        'options' => [parent::class, 'options', null, 16],
        'resourceId' => [parent::class, 'resourceId', null, 16],
        'resourceKey' => [parent::class, 'resourceKey', null, 16],
        'token' => [parent::class, 'token', null, 16],
        'visitCount' => [parent::class, 'visitCount', 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;
    }
}
