<?php
namespace Proxies\__CG__\App\Entity\Music;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Resource extends \App\Entity\Music\Resource 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\Common\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\\Music\\Resource' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'href', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'opus', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'annotations', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'file', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'fileName', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'updatedAt', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'licence', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'copyright', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'projectUrl', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'sourceUrl', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'infoUrl', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'originalDocument', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'electronicEditor', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'encoderOfElectronicDocument', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'electronicEditionVersion', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'publisherElectronicEdition', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'id'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'href', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'opus', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'annotations', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'file', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'fileName', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'updatedAt', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'licence', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'copyright', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'projectUrl', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'sourceUrl', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'infoUrl', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'originalDocument', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'electronicEditor', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'encoderOfElectronicDocument', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'electronicEditionVersion', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'publisherElectronicEdition', '' . "\0" . 'App\\Entity\\Music\\Resource' . "\0" . 'id'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Resource $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName(string $name): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getHref(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHref', []);
return parent::getHref();
}
/**
* {@inheritDoc}
*/
public function setHref(?string $href): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHref', [$href]);
parent::setHref($href);
}
/**
* {@inheritDoc}
*/
public function getOpus(): ?\App\Entity\Music\Opus
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOpus', []);
return parent::getOpus();
}
/**
* {@inheritDoc}
*/
public function setOpus(\App\Entity\Music\Opus $opus): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOpus', [$opus]);
parent::setOpus($opus);
}
/**
* {@inheritDoc}
*/
public function getType(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType(string $type): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function getAnnotations(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAnnotations', []);
return parent::getAnnotations();
}
/**
* {@inheritDoc}
*/
public function addAnnotation(\App\Entity\Annotation\Annotation $annotation): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAnnotation', [$annotation]);
parent::addAnnotation($annotation);
}
/**
* {@inheritDoc}
*/
public function removeAnnotation(\App\Entity\Annotation\Annotation $annotation): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAnnotation', [$annotation]);
parent::removeAnnotation($annotation);
}
/**
* {@inheritDoc}
*/
public function setFile(\Symfony\Component\HttpFoundation\File\File $file = NULL): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFile', [$file]);
parent::setFile($file);
}
/**
* {@inheritDoc}
*/
public function getFile(): ?\Symfony\Component\HttpFoundation\File\File
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFile', []);
return parent::getFile();
}
/**
* {@inheritDoc}
*/
public function setFileName(?string $fileName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFileName', [$fileName]);
parent::setFileName($fileName);
}
/**
* {@inheritDoc}
*/
public function getFileName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFileName', []);
return parent::getFileName();
}
/**
* {@inheritDoc}
*/
public function getLicence(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLicence', []);
return parent::getLicence();
}
/**
* {@inheritDoc}
*/
public function setLicence(?string $licence): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLicence', [$licence]);
parent::setLicence($licence);
}
/**
* {@inheritDoc}
*/
public function getCopyright(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCopyright', []);
return parent::getCopyright();
}
/**
* {@inheritDoc}
*/
public function setCopyright(?string $copyright): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCopyright', [$copyright]);
parent::setCopyright($copyright);
}
/**
* {@inheritDoc}
*/
public function getProjectUrl(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjectUrl', []);
return parent::getProjectUrl();
}
/**
* {@inheritDoc}
*/
public function setProjectUrl(?string $projectUrl): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProjectUrl', [$projectUrl]);
parent::setProjectUrl($projectUrl);
}
/**
* {@inheritDoc}
*/
public function getSourceUrl(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSourceUrl', []);
return parent::getSourceUrl();
}
/**
* {@inheritDoc}
*/
public function setSourceUrl(?string $sourceUrl): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSourceUrl', [$sourceUrl]);
parent::setSourceUrl($sourceUrl);
}
/**
* {@inheritDoc}
*/
public function getInfoUrl(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getInfoUrl', []);
return parent::getInfoUrl();
}
/**
* {@inheritDoc}
*/
public function setInfoUrl(?string $infoUrl): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setInfoUrl', [$infoUrl]);
parent::setInfoUrl($infoUrl);
}
/**
* {@inheritDoc}
*/
public function getOriginalDocument(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOriginalDocument', []);
return parent::getOriginalDocument();
}
/**
* {@inheritDoc}
*/
public function setOriginalDocument(?string $originalDocument): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOriginalDocument', [$originalDocument]);
parent::setOriginalDocument($originalDocument);
}
/**
* {@inheritDoc}
*/
public function getElectronicEditor(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getElectronicEditor', []);
return parent::getElectronicEditor();
}
/**
* {@inheritDoc}
*/
public function setElectronicEditor(?string $electronicEditor): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setElectronicEditor', [$electronicEditor]);
parent::setElectronicEditor($electronicEditor);
}
/**
* {@inheritDoc}
*/
public function getEncoderOfElectronicDocument(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEncoderOfElectronicDocument', []);
return parent::getEncoderOfElectronicDocument();
}
/**
* {@inheritDoc}
*/
public function setEncoderOfElectronicDocument(?string $encoderOfElectronicDocument): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEncoderOfElectronicDocument', [$encoderOfElectronicDocument]);
parent::setEncoderOfElectronicDocument($encoderOfElectronicDocument);
}
/**
* {@inheritDoc}
*/
public function getElectronicEditionVersion(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getElectronicEditionVersion', []);
return parent::getElectronicEditionVersion();
}
/**
* {@inheritDoc}
*/
public function setElectronicEditionVersion(?string $electronicEditionVersion): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setElectronicEditionVersion', [$electronicEditionVersion]);
parent::setElectronicEditionVersion($electronicEditionVersion);
}
/**
* {@inheritDoc}
*/
public function getPublisherElectronicEdition(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublisherElectronicEdition', []);
return parent::getPublisherElectronicEdition();
}
/**
* {@inheritDoc}
*/
public function setPublisherElectronicEdition(?string $publisherElectronicEdition): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublisherElectronicEdition', [$publisherElectronicEdition]);
parent::setPublisherElectronicEdition($publisherElectronicEdition);
}
/**
* {@inheritDoc}
*/
public function getId(): ?\Ramsey\Uuid\UuidInterface
{
if ($this->__isInitialized__ === false) {
return parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
}