<?php

namespace Proxies\__CG__\DMD\LaLigaApi\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Player extends \DMD\LaLigaApi\Entity\Player 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".'birthday' => [parent::class, 'birthday', null],
        "\0".parent::class."\0".'files' => [parent::class, 'files', null],
        "\0".parent::class."\0".'firstName' => [parent::class, 'firstName', null],
        "\0".parent::class."\0".'id' => [parent::class, 'id', null],
        "\0".parent::class."\0".'isFederated' => [parent::class, 'isFederated', null],
        "\0".parent::class."\0".'jerseyNumber' => [parent::class, 'jerseyNumber', null],
        "\0".parent::class."\0".'lastName' => [parent::class, 'lastName', null],
        "\0".parent::class."\0".'pictureFileName' => [parent::class, 'pictureFileName', null],
        "\0".parent::class."\0".'position' => [parent::class, 'position', null],
        "\0".parent::class."\0".'team' => [parent::class, 'team', null],
        'birthday' => [parent::class, 'birthday', null],
        'files' => [parent::class, 'files', null],
        'firstName' => [parent::class, 'firstName', null],
        'id' => [parent::class, 'id', null],
        'isFederated' => [parent::class, 'isFederated', null],
        'jerseyNumber' => [parent::class, 'jerseyNumber', null],
        'lastName' => [parent::class, 'lastName', null],
        'pictureFileName' => [parent::class, 'pictureFileName', null],
        'position' => [parent::class, 'position', null],
        'team' => [parent::class, 'team', null],
    ];

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