<?php
namespace ContainerDrxNATm;
include_once \dirname(__DIR__, 4).'/vendor/logist/redis-bundle/src/LogistRedisBundle/Bridge/ThresholdCheckerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/logist/redis-bundle/src/LogistRedisBundle/Service/RedisClient.php';
class RedisClient_acbba5c extends \LogistRedisBundle\Service\RedisClient implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \LogistRedisBundle\Service\RedisClient|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 getPrefix()
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'getPrefix', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->getPrefix();
}
public function get(string $key)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'get', array('key' => $key), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->get($key);
}
public function keys(string $prefix = '*')
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'keys', array('prefix' => $prefix), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->keys($prefix);
}
public function membersGet(string $key)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'membersGet', array('key' => $key), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->membersGet($key);
}
public function exists(string $key)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'exists', array('key' => $key), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->exists($key);
}
public function getMultiple(array $keys)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'getMultiple', array('keys' => $keys), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->getMultiple($keys);
}
public function ttl(string $key)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'ttl', array('key' => $key), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->ttl($key);
}
public function set(string $key, $value, ?int $ttl = null)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'set', array('key' => $key, 'value' => $value, 'ttl' => $ttl), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->set($key, $value, $ttl);
}
public function membersAdd(string $key, array $values, ?int $ttl = null)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'membersAdd', array('key' => $key, 'values' => $values, 'ttl' => $ttl), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->membersAdd($key, $values, $ttl);
}
public function cache(string $key, callable $fn, ?int $ttl = null)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'cache', array('key' => $key, 'fn' => $fn, 'ttl' => $ttl), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->cache($key, $fn, $ttl);
}
public function expire(string $key, int $ttl)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'expire', array('key' => $key, 'ttl' => $ttl), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->expire($key, $ttl);
}
public function expireAt(string $key, \DateTime $expireDate)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'expireAt', array('key' => $key, 'expireDate' => $expireDate), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->expireAt($key, $expireDate);
}
public function delete(string $key)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'delete', array('key' => $key), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->delete($key);
}
public function membersRemove(string $key, array $values)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'membersRemove', array('key' => $key, 'values' => $values), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->membersRemove($key, $values);
}
public function deleteMultiple(array $keys)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'deleteMultiple', array('keys' => $keys), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->deleteMultiple($keys);
}
public function getCounter(string $key)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'getCounter', array('key' => $key), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->getCounter($key);
}
public function increment(string $key, int $value = 1)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'increment', array('key' => $key, 'value' => $value), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->increment($key, $value);
}
public function decrement(string $key, int $value = 1)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'decrement', array('key' => $key, 'value' => $value), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->decrement($key, $value);
}
public function resetPrefix($mask = '')
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'resetPrefix', array('mask' => $mask), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->resetPrefix($mask);
}
public function checkThreshold(string $key, int $limit, int $timeInterval, int $increment = 1)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'checkThreshold', array('key' => $key, 'limit' => $limit, 'timeInterval' => $timeInterval, 'increment' => $increment), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->checkThreshold($key, $limit, $timeInterval, $increment);
}
/**
* 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->client);
\Closure::bind(function (\LogistRedisBundle\Service\RedisClient $instance) {
unset($instance->serializedFalse, $instance->serializedNull, $instance->binarySerialization, $instance->prefix);
}, $instance, 'LogistRedisBundle\\Service\\RedisClient')->__invoke($instance);
$instance->initializerc6a51 = $initializer;
return $instance;
}
public function __construct(string $host, int $port, string $username, string $password, string $prefix, bool $binarySerialization)
{
static $reflection;
if (! $this->valueHolderabdec) {
$reflection = $reflection ?? new \ReflectionClass('LogistRedisBundle\\Service\\RedisClient');
$this->valueHolderabdec = $reflection->newInstanceWithoutConstructor();
unset($this->client);
\Closure::bind(function (\LogistRedisBundle\Service\RedisClient $instance) {
unset($instance->serializedFalse, $instance->serializedNull, $instance->binarySerialization, $instance->prefix);
}, $this, 'LogistRedisBundle\\Service\\RedisClient')->__invoke($this);
}
$this->valueHolderabdec->__construct($host, $port, $username, $password, $prefix, $binarySerialization);
}
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('LogistRedisBundle\\Service\\RedisClient');
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('LogistRedisBundle\\Service\\RedisClient');
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('LogistRedisBundle\\Service\\RedisClient');
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('LogistRedisBundle\\Service\\RedisClient');
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()
{
unset($this->client);
\Closure::bind(function (\LogistRedisBundle\Service\RedisClient $instance) {
unset($instance->serializedFalse, $instance->serializedNull, $instance->binarySerialization, $instance->prefix);
}, $this, 'LogistRedisBundle\\Service\\RedisClient')->__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('RedisClient_acbba5c', false)) {
\class_alias(__NAMESPACE__.'\\RedisClient_acbba5c', 'RedisClient_acbba5c', false);
}