<?php
namespace ContainerDrxNATm;
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authorization/Voter/VoterInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authorization/Voter/CacheableVoterInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/Authorization/Voter/Voter.php';
include_once \dirname(__DIR__, 4).'/bundles/LogistCompositeBundle/Security/CompositeUserVoter.php';
class CompositeUserVoter_d210d06 extends \LogistCompositeBundle\Security\CompositeUserVoter implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \LogistCompositeBundle\Security\CompositeUserVoter|null wrapped object, if the proxy is initialized
*/
private $valueHolderabdec = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializerc6a51 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesa5b32 = [
];
public function vote(\Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, mixed $subject, array $attributes) : int
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'vote', array('token' => $token, 'subject' => $subject, 'attributes' => $attributes), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->vote($token, $subject, $attributes);
}
public function supportsAttribute(string $attribute) : bool
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'supportsAttribute', array('attribute' => $attribute), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->supportsAttribute($attribute);
}
public function supportsType(string $subjectType) : bool
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'supportsType', array('subjectType' => $subjectType), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->supportsType($subjectType);
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
\Closure::bind(function (\LogistCompositeBundle\Security\CompositeUserVoter $instance) {
unset($instance->apiCenter);
}, $instance, 'LogistCompositeBundle\\Security\\CompositeUserVoter')->__invoke($instance);
$instance->initializerc6a51 = $initializer;
return $instance;
}
public function __construct(\LogistCompositeBundle\Service\CompositeApiCenter $apiCenter)
{
static $reflection;
if (! $this->valueHolderabdec) {
$reflection = $reflection ?? new \ReflectionClass('LogistCompositeBundle\\Security\\CompositeUserVoter');
$this->valueHolderabdec = $reflection->newInstanceWithoutConstructor();
\Closure::bind(function (\LogistCompositeBundle\Security\CompositeUserVoter $instance) {
unset($instance->apiCenter);
}, $this, 'LogistCompositeBundle\\Security\\CompositeUserVoter')->__invoke($this);
}
$this->valueHolderabdec->__construct($apiCenter);
}
public function & __get($name)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__get', ['name' => $name], $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
if (isset(self::$publicPropertiesa5b32[$name])) {
return $this->valueHolderabdec->$name;
}
$realInstanceReflection = new \ReflectionClass('LogistCompositeBundle\\Security\\CompositeUserVoter');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderabdec;
$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->valueHolderabdec;
$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->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
$realInstanceReflection = new \ReflectionClass('LogistCompositeBundle\\Security\\CompositeUserVoter');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderabdec;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolderabdec;
$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->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__isset', array('name' => $name), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
$realInstanceReflection = new \ReflectionClass('LogistCompositeBundle\\Security\\CompositeUserVoter');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderabdec;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolderabdec;
$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->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__unset', array('name' => $name), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
$realInstanceReflection = new \ReflectionClass('LogistCompositeBundle\\Security\\CompositeUserVoter');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderabdec;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolderabdec;
$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->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__clone', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
$this->valueHolderabdec = clone $this->valueHolderabdec;
}
public function __sleep()
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__sleep', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return array('valueHolderabdec');
}
public function __wakeup()
{
\Closure::bind(function (\LogistCompositeBundle\Security\CompositeUserVoter $instance) {
unset($instance->apiCenter);
}, $this, 'LogistCompositeBundle\\Security\\CompositeUserVoter')->__invoke($this);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializerc6a51 = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializerc6a51;
}
public function initializeProxy() : bool
{
return $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'initializeProxy', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolderabdec;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolderabdec;
}
}
if (!\class_exists('CompositeUserVoter_d210d06', false)) {
\class_alias(__NAMESPACE__.'\\CompositeUserVoter_d210d06', 'CompositeUserVoter_d210d06', false);
}