<?php

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

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class CategoryTranslationMedia extends \Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationMedia 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".'categoryTranslation' => [parent::class, 'categoryTranslation', null, 8],
        "\0".'*'."\0".'id' => [parent::class, 'id', null, 8],
        "\0".'*'."\0".'media' => [parent::class, 'media', null, 8],
        "\0".'*'."\0".'position' => [parent::class, 'position', null, 8],
        'categoryTranslation' => [parent::class, 'categoryTranslation', null, 8],
        'id' => [parent::class, 'id', null, 8],
        'media' => [parent::class, 'media', null, 8],
        'position' => [parent::class, 'position', 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;
    }
}
