You are here

public function MemcachedSessionHandler::read in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/Storage/Handler/MemcachedSessionHandler.php \Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcachedSessionHandler::read()

File

vendor/symfony/http-foundation/Session/Storage/Handler/MemcachedSessionHandler.php, line 86

Class

MemcachedSessionHandler
MemcachedSessionHandler.

Namespace

Symfony\Component\HttpFoundation\Session\Storage\Handler

Code

public function read($sessionId) {
  return $this->memcached
    ->get($this->prefix . $sessionId) ?: '';
}