<?php

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

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Group extends \Sulu\Bundle\SecurityBundle\Entity\Group 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".'apiPath' => [parent::class, 'apiPath', null, 8],
        "\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".'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".'children' => [parent::class, 'children', null, 16],
        "\0".parent::class."\0".'depth' => [parent::class, 'depth', null, 16],
        "\0".parent::class."\0".'id' => [parent::class, 'id', null, 16],
        "\0".parent::class."\0".'lft' => [parent::class, 'lft', null, 16],
        "\0".parent::class."\0".'name' => [parent::class, 'name', null, 16],
        "\0".parent::class."\0".'parent' => [parent::class, 'parent', null, 16],
        "\0".parent::class."\0".'rgt' => [parent::class, 'rgt', null, 16],
        "\0".parent::class."\0".'roles' => [parent::class, 'roles', null, 16],
        "\0".parent::class."\0".'userGroups' => [parent::class, 'userGroups', null, 16],
        '_links' => ['Sulu\\Bundle\\CoreBundle\\Entity\\ApiEntity', '_links', null, 16],
        'apiBasePath' => [parent::class, 'apiBasePath', null, 8],
        'apiPath' => [parent::class, 'apiPath', null, 8],
        '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],
        'depth' => [parent::class, 'depth', null, 16],
        'id' => [parent::class, 'id', null, 16],
        'lft' => [parent::class, 'lft', null, 16],
        'name' => [parent::class, 'name', null, 16],
        'parent' => [parent::class, 'parent', null, 16],
        'rgt' => [parent::class, 'rgt', null, 16],
        'roles' => [parent::class, 'roles', null, 16],
        'userGroups' => [parent::class, 'userGroups', 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;
    }
}
