<?php

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

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Activity extends \Sulu\Bundle\ActivityBundle\Domain\Model\Activity 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".'batch' => [parent::class, 'batch', null, 16],
        "\0".parent::class."\0".'context' => [parent::class, 'context', null, 16],
        "\0".parent::class."\0".'id' => [parent::class, 'id', null, 16],
        "\0".parent::class."\0".'payload' => [parent::class, 'payload', 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".'resourceLocale' => [parent::class, 'resourceLocale', null, 16],
        "\0".parent::class."\0".'resourceSecurityContext' => [parent::class, 'resourceSecurityContext', null, 16],
        "\0".parent::class."\0".'resourceSecurityObjectId' => [parent::class, 'resourceSecurityObjectId', null, 16],
        "\0".parent::class."\0".'resourceSecurityObjectType' => [parent::class, 'resourceSecurityObjectType', null, 16],
        "\0".parent::class."\0".'resourceTitle' => [parent::class, 'resourceTitle', null, 16],
        "\0".parent::class."\0".'resourceTitleLocale' => [parent::class, 'resourceTitleLocale', null, 16],
        "\0".parent::class."\0".'resourceWebspaceKey' => [parent::class, 'resourceWebspaceKey', null, 16],
        "\0".parent::class."\0".'timestamp' => [parent::class, 'timestamp', null, 16],
        "\0".parent::class."\0".'type' => [parent::class, 'type', null, 16],
        "\0".parent::class."\0".'user' => [parent::class, 'user', null, 16],
        'batch' => [parent::class, 'batch', null, 16],
        'context' => [parent::class, 'context', null, 16],
        'id' => [parent::class, 'id', null, 16],
        'payload' => [parent::class, 'payload', null, 16],
        'resourceId' => [parent::class, 'resourceId', null, 16],
        'resourceKey' => [parent::class, 'resourceKey', null, 16],
        'resourceLocale' => [parent::class, 'resourceLocale', null, 16],
        'resourceSecurityContext' => [parent::class, 'resourceSecurityContext', null, 16],
        'resourceSecurityObjectId' => [parent::class, 'resourceSecurityObjectId', null, 16],
        'resourceSecurityObjectType' => [parent::class, 'resourceSecurityObjectType', null, 16],
        'resourceTitle' => [parent::class, 'resourceTitle', null, 16],
        'resourceTitleLocale' => [parent::class, 'resourceTitleLocale', null, 16],
        'resourceWebspaceKey' => [parent::class, 'resourceWebspaceKey', null, 16],
        'timestamp' => [parent::class, 'timestamp', null, 16],
        'type' => [parent::class, 'type', null, 16],
        'user' => [parent::class, 'user', 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;
    }
}
