<?php
namespace Container8LCi6zJ;
include_once \dirname(__DIR__, 4).'/src/Repository/WebServices/AbstractWsRepository.php';
include_once \dirname(__DIR__, 4).'/src/Repository/WebServices/AbstractCacheWsRepository.php';
include_once \dirname(__DIR__, 4).'/src/Interfaces/RepositoryInterface.php';
include_once \dirname(__DIR__, 4).'/src/Interfaces/NoticiasRepositoryInterface.php';
include_once \dirname(__DIR__, 4).'/src/Repository/WebServices/NoticiaRepository.php';
class NoticiaRepository_54ab26b extends \App\Repository\WebServices\NoticiaRepository implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \App\Repository\WebServices\NoticiaRepository|null wrapped object, if the proxy is initialized
*/
private $valueHolder1f8e2 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer41009 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesbcbea = [
];
public function save($object)
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'save', array('object' => $object), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->save($object);
}
public function addView($id) : ?int
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'addView', array('id' => $id), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->addView($id);
}
public function all($subParameters = '', $cachear = true) : ?\Doctrine\Common\Collections\ArrayCollection
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'all', array('subParameters' => $subParameters, 'cachear' => $cachear), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->all($subParameters, $cachear);
}
public function find(\Doctrine\Common\Collections\Criteria $criteria, $cachear = true, $extraparams = []) : ?\Doctrine\Common\Collections\ArrayCollection
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'find', array('criteria' => $criteria, 'cachear' => $cachear, 'extraparams' => $extraparams), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->find($criteria, $cachear, $extraparams);
}
public function findById(int $id, $cachear = true, $extraparams = [])
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'findById', array('id' => $id, 'cachear' => $cachear, 'extraparams' => $extraparams), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->findById($id, $cachear, $extraparams);
}
public function getEntityClass()
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'getEntityClass', array(), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->getEntityClass();
}
public function findOne(\Doctrine\Common\Collections\Criteria $criteria, $cachear = null, $extraparams = [])
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'findOne', array('criteria' => $criteria, 'cachear' => $cachear, 'extraparams' => $extraparams), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->findOne($criteria, $cachear, $extraparams);
}
public function delete($object, bool $force = false) : void
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'delete', array('object' => $object, 'force' => $force), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
$this->valueHolder1f8e2->delete($object, $force);
return;
}
public function saveAndGet($object, $queryParams = [])
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'saveAndGet', array('object' => $object, 'queryParams' => $queryParams), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->saveAndGet($object, $queryParams);
}
public function setGlobal($global)
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'setGlobal', array('global' => $global), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->setGlobal($global);
}
public function setExpire($expire)
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'setExpire', array('expire' => $expire), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->setExpire($expire);
}
public function setCache($cache)
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'setCache', array('cache' => $cache), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->setCache($cache);
}
public function getClass()
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'getClass', array(), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return $this->valueHolder1f8e2->getClass();
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
unset($instance->ruta, $instance->entidad, $instance->cache, $instance->global, $instance->expire, $instance->apiConsumerService, $instance->criteriaToRequest, $instance->serializer, $instance->translator, $instance->session, $instance->crossSystemIdMapper, $instance->requestStack, $instance->eventDispatcher);
$instance->initializer41009 = $initializer;
return $instance;
}
public function __construct(\App\Services\ApiConsumerService $apiConsumerService, \App\Services\CriteriaToRequest $criteriaToRequest, \Symfony\Component\Serializer\SerializerInterface $serializer, \Symfony\Contracts\Translation\TranslatorInterface $translator, \Symfony\Component\HttpFoundation\Session\SessionInterface $session, \App\Serializer\Normalizer\CrossSystemIdMapper $crossSystemIdMapper, \Symfony\Component\HttpFoundation\RequestStack $requestStack, \Psr\EventDispatcher\EventDispatcherInterface $eventDispatcher)
{
static $reflection;
if (! $this->valueHolder1f8e2) {
$reflection = $reflection ?? new \ReflectionClass('App\\Repository\\WebServices\\NoticiaRepository');
$this->valueHolder1f8e2 = $reflection->newInstanceWithoutConstructor();
unset($this->ruta, $this->entidad, $this->cache, $this->global, $this->expire, $this->apiConsumerService, $this->criteriaToRequest, $this->serializer, $this->translator, $this->session, $this->crossSystemIdMapper, $this->requestStack, $this->eventDispatcher);
}
$this->valueHolder1f8e2->__construct($apiConsumerService, $criteriaToRequest, $serializer, $translator, $session, $crossSystemIdMapper, $requestStack, $eventDispatcher);
}
public function & __get($name)
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, '__get', ['name' => $name], $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
if (isset(self::$publicPropertiesbcbea[$name])) {
return $this->valueHolder1f8e2->$name;
}
$realInstanceReflection = new \ReflectionClass('App\\Repository\\WebServices\\NoticiaRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1f8e2;
$backtrace = debug_backtrace(false, 1);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
$realInstanceReflection->getName(),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
}
$targetObject = $this->valueHolder1f8e2;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __set($name, $value)
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
$realInstanceReflection = new \ReflectionClass('App\\Repository\\WebServices\\NoticiaRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1f8e2;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder1f8e2;
$accessor = function & () use ($targetObject, $name, $value) {
$targetObject->$name = $value;
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __isset($name)
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, '__isset', array('name' => $name), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
$realInstanceReflection = new \ReflectionClass('App\\Repository\\WebServices\\NoticiaRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1f8e2;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder1f8e2;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __unset($name)
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, '__unset', array('name' => $name), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
$realInstanceReflection = new \ReflectionClass('App\\Repository\\WebServices\\NoticiaRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1f8e2;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder1f8e2;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
return;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$accessor();
}
public function __clone()
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, '__clone', array(), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
$this->valueHolder1f8e2 = clone $this->valueHolder1f8e2;
}
public function __sleep()
{
$this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, '__sleep', array(), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
return array('valueHolder1f8e2');
}
public function __wakeup()
{
unset($this->ruta, $this->entidad, $this->cache, $this->global, $this->expire, $this->apiConsumerService, $this->criteriaToRequest, $this->serializer, $this->translator, $this->session, $this->crossSystemIdMapper, $this->requestStack, $this->eventDispatcher);
}
public function setProxyInitializer(?\Closure $initializer = null) : void
{
$this->initializer41009 = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer41009;
}
public function initializeProxy() : bool
{
return $this->initializer41009 && ($this->initializer41009->__invoke($valueHolder1f8e2, $this, 'initializeProxy', array(), $this->initializer41009) || 1) && $this->valueHolder1f8e2 = $valueHolder1f8e2;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder1f8e2;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder1f8e2;
}
}
if (!\class_exists('NoticiaRepository_54ab26b', false)) {
\class_alias(__NAMESPACE__.'\\NoticiaRepository_54ab26b', 'NoticiaRepository_54ab26b', false);
}