<?php

namespace Proxies\__CG__\DMD\LaLigaApi\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class League extends \DMD\LaLigaApi\Entity\League 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".'blockedMatchDates' => [parent::class, 'blockedMatchDates', null],
        "\0".parent::class."\0".'city' => [parent::class, 'city', null],
        "\0".parent::class."\0".'createdAt' => [parent::class, 'createdAt', null],
        "\0".parent::class."\0".'description' => [parent::class, 'description', null],
        "\0".parent::class."\0".'id' => [parent::class, 'id', null],
        "\0".parent::class."\0".'isPublic' => [parent::class, 'isPublic', null],
        "\0".parent::class."\0".'logo' => [parent::class, 'logo', null],
        "\0".parent::class."\0".'matchesBetweenTeams' => [parent::class, 'matchesBetweenTeams', null],
        "\0".parent::class."\0".'name' => [parent::class, 'name', null],
        "\0".parent::class."\0".'seasons' => [parent::class, 'seasons', null],
        'active' => [parent::class, 'active', null],
        'blockedMatchDates' => [parent::class, 'blockedMatchDates', null],
        'city' => [parent::class, 'city', null],
        'createdAt' => [parent::class, 'createdAt', null],
        'description' => [parent::class, 'description', null],
        'id' => [parent::class, 'id', null],
        'isPublic' => [parent::class, 'isPublic', null],
        'logo' => [parent::class, 'logo', null],
        'matchesBetweenTeams' => [parent::class, 'matchesBetweenTeams', null],
        'name' => [parent::class, 'name', null],
        'seasons' => [parent::class, 'seasons', 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;
    }
}
