<?php

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

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class User extends \Sulu\Bundle\SecurityBundle\Entity\User 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".'apiBasePath' => [parent::class, 'apiBasePath', null, 8],
        "\0".'*'."\0".'apiKey' => [parent::class, 'apiKey', null, 8],
        "\0".'*'."\0".'apiPath' => [parent::class, 'apiPath', null, 8],
        "\0".'*'."\0".'changed' => [parent::class, 'changed', null, 8],
        "\0".'*'."\0".'changer' => [parent::class, 'changer', null, 8],
        "\0".'*'."\0".'confirmationKey' => [parent::class, 'confirmationKey', null, 8],
        "\0".'*'."\0".'contact' => [parent::class, 'contact', null, 8],
        "\0".'*'."\0".'created' => [parent::class, 'created', null, 8],
        "\0".'*'."\0".'creator' => [parent::class, 'creator', null, 8],
        "\0".'*'."\0".'email' => [parent::class, 'email', null, 8],
        "\0".'*'."\0".'enabled' => [parent::class, 'enabled', null, 8],
        "\0".'*'."\0".'id' => [parent::class, 'id', null, 8],
        "\0".'*'."\0".'lastLogin' => [parent::class, 'lastLogin', null, 8],
        "\0".'*'."\0".'locale' => [parent::class, 'locale', null, 8],
        "\0".'*'."\0".'locked' => [parent::class, 'locked', null, 8],
        "\0".'*'."\0".'password' => [parent::class, 'password', null, 8],
        "\0".'*'."\0".'passwordResetToken' => [parent::class, 'passwordResetToken', null, 8],
        "\0".'*'."\0".'privateKey' => [parent::class, 'privateKey', null, 8],
        "\0".'*'."\0".'salt' => [parent::class, 'salt', null, 8],
        "\0".'*'."\0".'twoFactor' => [parent::class, 'twoFactor', null, 8],
        "\0".'*'."\0".'userGroups' => [parent::class, 'userGroups', null, 8],
        "\0".'*'."\0".'userRoles' => [parent::class, 'userRoles', null, 8],
        "\0".'*'."\0".'userSettings' => [parent::class, 'userSettings', null, 8],
        "\0".'*'."\0".'username' => [parent::class, 'username', null, 8],
        "\0".'Sulu\\Bundle\\CoreBundle\\Entity\\ApiEntity'."\0".'_links' => ['Sulu\\Bundle\\CoreBundle\\Entity\\ApiEntity', '_links', null, 16],
        "\0".'Sulu\\Bundle\\CoreBundle\\Entity\\ApiEntity'."\0".'id' => ['Sulu\\Bundle\\CoreBundle\\Entity\\ApiEntity', 'id', null, 16],
        "\0".parent::class."\0".'passwordResetTokenEmailsSent' => [parent::class, 'passwordResetTokenEmailsSent', null, 16],
        "\0".parent::class."\0".'passwordResetTokenExpiresAt' => [parent::class, 'passwordResetTokenExpiresAt', null, 16],
        '_links' => ['Sulu\\Bundle\\CoreBundle\\Entity\\ApiEntity', '_links', null, 16],
        'apiBasePath' => [parent::class, 'apiBasePath', null, 8],
        'apiKey' => [parent::class, 'apiKey', null, 8],
        'apiPath' => [parent::class, 'apiPath', null, 8],
        'changed' => [parent::class, 'changed', null, 8],
        'changer' => [parent::class, 'changer', null, 8],
        'confirmationKey' => [parent::class, 'confirmationKey', null, 8],
        'contact' => [parent::class, 'contact', null, 8],
        'created' => [parent::class, 'created', null, 8],
        'creator' => [parent::class, 'creator', null, 8],
        'email' => [parent::class, 'email', null, 8],
        'enabled' => [parent::class, 'enabled', null, 8],
        'id' => [parent::class, 'id', null, 8],
        'lastLogin' => [parent::class, 'lastLogin', null, 8],
        'locale' => [parent::class, 'locale', null, 8],
        'locked' => [parent::class, 'locked', null, 8],
        'password' => [parent::class, 'password', null, 8],
        'passwordResetToken' => [parent::class, 'passwordResetToken', null, 8],
        'passwordResetTokenEmailsSent' => [parent::class, 'passwordResetTokenEmailsSent', null, 16],
        'passwordResetTokenExpiresAt' => [parent::class, 'passwordResetTokenExpiresAt', null, 16],
        'privateKey' => [parent::class, 'privateKey', null, 8],
        'salt' => [parent::class, 'salt', null, 8],
        'twoFactor' => [parent::class, 'twoFactor', null, 8],
        'userGroups' => [parent::class, 'userGroups', null, 8],
        'userRoles' => [parent::class, 'userRoles', null, 8],
        'userSettings' => [parent::class, 'userSettings', null, 8],
        'username' => [parent::class, 'username', 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;
    }
}
