<?php

namespace Proxies\__CG__\DMD\LaLigaApi\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Facility extends \DMD\LaLigaApi\Entity\Facility 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".'address' => [parent::class, 'address', null],
        "\0".parent::class."\0".'availableHours' => [parent::class, 'availableHours', null],
        "\0".parent::class."\0".'createdAt' => [parent::class, 'createdAt', null],
        "\0".parent::class."\0".'games' => [parent::class, 'games', null],
        "\0".parent::class."\0".'id' => [parent::class, 'id', null],
        "\0".parent::class."\0".'name' => [parent::class, 'name', null],
        "\0".parent::class."\0".'season' => [parent::class, 'season', null],
        "\0".parent::class."\0".'teams' => [parent::class, 'teams', null],
        'active' => [parent::class, 'active', null],
        'address' => [parent::class, 'address', null],
        'availableHours' => [parent::class, 'availableHours', null],
        'createdAt' => [parent::class, 'createdAt', null],
        'games' => [parent::class, 'games', null],
        'id' => [parent::class, 'id', null],
        'name' => [parent::class, 'name', null],
        'season' => [parent::class, 'season', null],
        'teams' => [parent::class, 'teams', 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;
    }
}
