<?php

namespace Proxies\__CG__\DMD\LaLigaApi\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Game extends \DMD\LaLigaApi\Entity\Game 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".'awayTeam' => [parent::class, 'awayTeam', null],
        "\0".parent::class."\0".'createdAt' => [parent::class, 'createdAt', null],
        "\0".parent::class."\0".'facility' => [parent::class, 'facility', null],
        "\0".parent::class."\0".'files' => [parent::class, 'files', null],
        "\0".parent::class."\0".'gameDateTime' => [parent::class, 'gameDateTime', null],
        "\0".parent::class."\0".'homeTeam' => [parent::class, 'homeTeam', null],
        "\0".parent::class."\0".'id' => [parent::class, 'id', null],
        "\0".parent::class."\0".'notes' => [parent::class, 'notes', null],
        "\0".parent::class."\0".'plannedDate' => [parent::class, 'plannedDate', null],
        "\0".parent::class."\0".'pointsAway' => [parent::class, 'pointsAway', null],
        "\0".parent::class."\0".'pointsHome' => [parent::class, 'pointsHome', null],
        "\0".parent::class."\0".'season' => [parent::class, 'season', null],
        "\0".parent::class."\0".'updatedAt' => [parent::class, 'updatedAt', null],
        'awayTeam' => [parent::class, 'awayTeam', null],
        'createdAt' => [parent::class, 'createdAt', null],
        'facility' => [parent::class, 'facility', null],
        'files' => [parent::class, 'files', null],
        'gameDateTime' => [parent::class, 'gameDateTime', null],
        'homeTeam' => [parent::class, 'homeTeam', null],
        'id' => [parent::class, 'id', null],
        'notes' => [parent::class, 'notes', null],
        'plannedDate' => [parent::class, 'plannedDate', null],
        'pointsAway' => [parent::class, 'pointsAway', null],
        'pointsHome' => [parent::class, 'pointsHome', null],
        'season' => [parent::class, 'season', null],
        'updatedAt' => [parent::class, 'updatedAt', 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;
    }
}
