<?php

namespace Proxies\__CG__\Sulu\Bundle\MediaBundle\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Collection extends \Sulu\Bundle\MediaBundle\Entity\Collection 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".'changer' => [parent::class, 'changer', null, 8],
        "\0".'*'."\0".'created' => [parent::class, 'created', null, 8],
        "\0".'*'."\0".'creator' => [parent::class, 'creator', null, 8],
        "\0".'*'."\0".'depth' => [parent::class, 'depth', null, 8],
        "\0".'*'."\0".'id' => [parent::class, 'id', null, 8],
        "\0".'*'."\0".'lft' => [parent::class, 'lft', null, 8],
        "\0".'*'."\0".'rgt' => [parent::class, 'rgt', null, 8],
        "\0".'*'."\0".'style' => [parent::class, 'style', null, 8],
        "\0".'*'."\0".'type' => [parent::class, 'type', null, 8],
        "\0".parent::class."\0".'children' => [parent::class, 'children', null, 16],
        "\0".parent::class."\0".'defaultMeta' => [parent::class, 'defaultMeta', null, 16],
        "\0".parent::class."\0".'key' => [parent::class, 'key', null, 16],
        "\0".parent::class."\0".'media' => [parent::class, 'media', null, 16],
        "\0".parent::class."\0".'meta' => [parent::class, 'meta', null, 16],
        "\0".parent::class."\0".'parent' => [parent::class, 'parent', null, 16],
        'changed' => [parent::class, 'changed', null, 8],
        'changer' => [parent::class, 'changer', null, 8],
        'children' => [parent::class, 'children', null, 16],
        'created' => [parent::class, 'created', null, 8],
        'creator' => [parent::class, 'creator', null, 8],
        'defaultMeta' => [parent::class, 'defaultMeta', null, 16],
        'depth' => [parent::class, 'depth', null, 8],
        'id' => [parent::class, 'id', null, 8],
        'key' => [parent::class, 'key', null, 16],
        'lft' => [parent::class, 'lft', null, 8],
        'media' => [parent::class, 'media', null, 16],
        'meta' => [parent::class, 'meta', null, 16],
        'parent' => [parent::class, 'parent', null, 16],
        'rgt' => [parent::class, 'rgt', null, 8],
        'style' => [parent::class, 'style', null, 8],
        'type' => [parent::class, 'type', null, 8],
    ];

    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;
    }
}
