<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Card extends \App\Entity\Card implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'user_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'pool_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'reference_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'reference_version', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'copy_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'copy_version', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'task', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'solution', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'classification_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'version', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'correct', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'correct2', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'skilled', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'delflag', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'created_date', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'modify_date'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'user_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'pool_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'reference_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'reference_version', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'copy_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'copy_version', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'task', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'solution', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'classification_id', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'version', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'correct', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'correct2', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'skilled', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'delflag', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'created_date', '' . "\0" . 'App\\Entity\\Card' . "\0" . 'modify_date'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Card $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId(): ?int
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getUserId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserId', []);
return parent::getUserId();
}
/**
* {@inheritDoc}
*/
public function setUserId(int $user_id): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserId', [$user_id]);
return parent::setUserId($user_id);
}
/**
* {@inheritDoc}
*/
public function getPoolId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPoolId', []);
return parent::getPoolId();
}
/**
* {@inheritDoc}
*/
public function setPoolId(int $pool_id): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPoolId', [$pool_id]);
return parent::setPoolId($pool_id);
}
/**
* {@inheritDoc}
*/
public function getReferenceId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReferenceId', []);
return parent::getReferenceId();
}
/**
* {@inheritDoc}
*/
public function setReferenceId(int $reference_id): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReferenceId', [$reference_id]);
return parent::setReferenceId($reference_id);
}
/**
* {@inheritDoc}
*/
public function getCopyId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCopyId', []);
return parent::getCopyId();
}
/**
* {@inheritDoc}
*/
public function setCopyId(int $copy_id): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCopyId', [$copy_id]);
return parent::setCopyId($copy_id);
}
/**
* {@inheritDoc}
*/
public function getTask(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTask', []);
return parent::getTask();
}
/**
* {@inheritDoc}
*/
public function setTask(string $task): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTask', [$task]);
return parent::setTask($task);
}
/**
* {@inheritDoc}
*/
public function getSolution(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSolution', []);
return parent::getSolution();
}
/**
* {@inheritDoc}
*/
public function setSolution(string $solution): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSolution', [$solution]);
return parent::setSolution($solution);
}
/**
* {@inheritDoc}
*/
public function getCorrect(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCorrect', []);
return parent::getCorrect();
}
/**
* {@inheritDoc}
*/
public function setCorrect(int $correct): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCorrect', [$correct]);
return parent::setCorrect($correct);
}
/**
* {@inheritDoc}
*/
public function getCorrect2(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCorrect2', []);
return parent::getCorrect2();
}
/**
* {@inheritDoc}
*/
public function setCorrect2(int $correct2): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCorrect2', [$correct2]);
return parent::setCorrect2($correct2);
}
/**
* {@inheritDoc}
*/
public function getSkilled(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSkilled', []);
return parent::getSkilled();
}
/**
* {@inheritDoc}
*/
public function setSkilled(int $skilled): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSkilled', [$skilled]);
return parent::setSkilled($skilled);
}
/**
* {@inheritDoc}
*/
public function getCreatedDate(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedDate', []);
return parent::getCreatedDate();
}
/**
* {@inheritDoc}
*/
public function setCreatedDate(\DateTimeInterface $created_date): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedDate', [$created_date]);
return parent::setCreatedDate($created_date);
}
/**
* {@inheritDoc}
*/
public function getModifyDate(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getModifyDate', []);
return parent::getModifyDate();
}
/**
* {@inheritDoc}
*/
public function setModifyDate(\DateTimeInterface $modify_date): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setModifyDate', [$modify_date]);
return parent::setModifyDate($modify_date);
}
/**
* {@inheritDoc}
*/
public function getClassificationId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClassificationId', []);
return parent::getClassificationId();
}
/**
* {@inheritDoc}
*/
public function setClassificationId(int $classification_id): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setClassificationId', [$classification_id]);
return parent::setClassificationId($classification_id);
}
/**
* {@inheritDoc}
*/
public function getDelflag(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDelflag', []);
return parent::getDelflag();
}
/**
* {@inheritDoc}
*/
public function setDelflag(int $delflag): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDelflag', [$delflag]);
return parent::setDelflag($delflag);
}
/**
* {@inheritDoc}
*/
public function getVersion(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getVersion', []);
return parent::getVersion();
}
/**
* {@inheritDoc}
*/
public function setVersion(int $version): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setVersion', [$version]);
return parent::setVersion($version);
}
/**
* {@inheritDoc}
*/
public function getReferenceVersion(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReferenceVersion', []);
return parent::getReferenceVersion();
}
/**
* {@inheritDoc}
*/
public function setReferenceVersion(int $reference_version): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReferenceVersion', [$reference_version]);
return parent::setReferenceVersion($reference_version);
}
/**
* {@inheritDoc}
*/
public function getCopyVersion(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCopyVersion', []);
return parent::getCopyVersion();
}
/**
* {@inheritDoc}
*/
public function setCopyVersion(int $copy_version): \App\Entity\Card
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCopyVersion', [$copy_version]);
return parent::setCopyVersion($copy_version);
}
}