<?php

namespace Proxies\__CG__\DMD\LaLigaApi\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Team extends \DMD\LaLigaApi\Entity\Team 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".'active' => [parent::class, 'active', null],
        "\0".parent::class."\0".'captain' => [parent::class, 'captain', null],
        "\0".parent::class."\0".'createdAt' => [parent::class, 'createdAt', null],
        "\0".parent::class."\0".'dayOfTheWeekForHomeGame' => [parent::class, 'dayOfTheWeekForHomeGame', null],
        "\0".parent::class."\0".'homeFacility' => [parent::class, 'homeFacility', null],
        "\0".parent::class."\0".'id' => [parent::class, 'id', null],
        "\0".parent::class."\0".'leagueId' => [parent::class, 'leagueId', null],
        "\0".parent::class."\0".'name' => [parent::class, 'name', null],
        "\0".parent::class."\0".'players' => [parent::class, 'players', null],
        "\0".parent::class."\0".'seasonData' => [parent::class, 'seasonData', null],
        "\0".parent::class."\0".'seasons' => [parent::class, 'seasons', null],
        "\0".parent::class."\0".'teamLogo' => [parent::class, 'teamLogo', null],
        'active' => [parent::class, 'active', null],
        'captain' => [parent::class, 'captain', null],
        'createdAt' => [parent::class, 'createdAt', null],
        'dayOfTheWeekForHomeGame' => [parent::class, 'dayOfTheWeekForHomeGame', null],
        'homeFacility' => [parent::class, 'homeFacility', null],
        'id' => [parent::class, 'id', null],
        'leagueId' => [parent::class, 'leagueId', null],
        'name' => [parent::class, 'name', null],
        'players' => [parent::class, 'players', null],
        'seasonData' => [parent::class, 'seasonData', null],
        'seasons' => [parent::class, 'seasons', null],
        'teamLogo' => [parent::class, 'teamLogo', 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;
    }
}
