/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/AbstractConnection.php
*
* @param string $message Error message.
* @param int $code Error code.
*/
protected function onConnectionError($message, $code = null)
{
CommunicationException::handle(
new ConnectionException(
$this, "$message [{$this->parameters->scheme}://{$this->getIdentifier()}]", $code
)
/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/StreamConnection.php
$flags |= STREAM_CLIENT_PERSISTENT;
$uri .= strpos($path = $parameters->path, '/') === 0 ? $path : "/$path";
}
$resource = @stream_socket_client($uri, $errno, $errstr, (float) $parameters->timeout, $flags);
if (!$resource) {
$this->onConnectionError(trim($errstr), $errno);
}
/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/StreamConnection.php
/**
* {@inheritdoc}
*/
protected function createResource()
{
$initializer = "{$this->parameters->scheme}StreamInitializer";
$resource = $this->$initializer($this->parameters);
return $resource;
/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/AbstractConnection.php
/**
* {@inheritdoc}
*/
public function connect()
{
if (!$this->isConnected()) {
$this->resource = $this->createResource();
return true;
/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/StreamConnection.php
}
/**
* {@inheritdoc}
*/
public function connect()
{
if (parent::connect() && $this->initCommands) {
foreach ($this->initCommands as $command) {
$this->executeCommand($command);
/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/AbstractConnection.php
*/
public function getResource()
{
if (isset($this->resource)) {
return $this->resource;
}
$this->connect();
return $this->resource;
/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/StreamConnection.php
* Performs a write operation over the stream of the buffer containing a
* command serialized with the Redis wire protocol.
*
* @param string $buffer Representation of a command in the Redis wire protocol.
*/
protected function write($buffer)
{
$socket = $this->getResource();
while (($length = strlen($buffer)) > 0) {
/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/StreamConnection.php
for ($i = 0, $reqlen--; $i < $reqlen; $i++) {
$argument = $arguments[$i];
$arglen = strlen($argument);
$buffer .= "\${$arglen}\r\n{$argument}\r\n";
}
$this->write($buffer);
}
}
/application/aier/proj-ai-er/vendor/predis/predis/src/Connection/AbstractConnection.php
}
/**
* {@inheritdoc}
*/
public function executeCommand(CommandInterface $command)
{
$this->writeRequest($command);
return $this->readResponse($command);
/application/aier/proj-ai-er/vendor/predis/predis/src/Client.php
}
/**
* {@inheritdoc}
*/
public function executeCommand(CommandInterface $command)
{
$response = $this->connection->executeCommand($command);
if ($response instanceof ResponseInterface) {
/application/aier/proj-ai-er/vendor/predis/predis/src/Client.php
/**
* {@inheritdoc}
*/
public function __call($commandID, $arguments)
{
return $this->executeCommand(
$this->createCommand($commandID, $arguments)
);
}
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php
* Retrieve an item from the cache by key.
*
* @param string $key
* @return mixed
*/
public function get($key)
{
if ( ! is_null($value = $this->connection()->get($this->prefix.$key)))
{
return is_numeric($value) ? $value : unserialize($value);
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Cache/Repository.php
*
* @param string $key
* @param mixed $default
* @return mixed
*/
public function get($key, $default = null)
{
$value = $this->store->get($key);
if (is_null($value))
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Session/CacheBasedSessionHandler.php
}
/**
* {@inheritDoc}
*/
public function read($sessionId)
{
return $this->cache->get($sessionId, '');
}
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Session/Store.php
/**
* Read the session data from the handler.
*
* @return array
*/
protected function readFromHandler()
{
$data = $this->handler->read($this->getId());
if ($data)
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Session/Store.php
/**
* Load the session data from the handler.
*
* @return void
*/
protected function loadSession()
{
$this->attributes = array_merge($this->attributes, $this->readFromHandler());
foreach (array_merge($this->bags, array($this->metaBag)) as $bag)
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Session/Store.php
}
/**
* {@inheritdoc}
*/
public function start()
{
$this->loadSession();
if ( ! $this->has('_token')) $this->regenerateToken();
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Session\SessionInterface
*/
protected function startSession(Request $request)
{
with($session = $this->getSession($request))->setRequestOnHandler($request);
$session->start();
return $session;
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
$this->sessionHandled = true;
// If a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. Note that the Laravel sessions
// do not make use of PHP "native" sessions in any way since they are crappy.
if ($this->sessionConfigured())
{
$session = $this->startSession($request);
$request->setSession($session);
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie)
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
public function handle($request, Closure $next)
{
if ($this->app->isDownForMaintenance())
{
throw new HttpException(503);
}
return $next($request);
}
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function then(Closure $destination)
{
$firstSlice = $this->getInitialSlice($destination);
$pipes = array_reverse($this->pipes);
return call_user_func(
array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
);
}
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->middleware)
->then($this->dispatchToRouter());
}
/application/aier/proj-ai-er/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try
{
$response = $this->sendRequestThroughRouter($request);
}
catch (Exception $e)
/application/aier/proj-ai-er/public/index.php
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
Illuminate\Http\Request::setTrustedProxies(['192.168.100.4','192.168.100.14','127.0.0.1']);