You are here

public function MemcacheSessionHandler::read in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Session/Storage/Handler/MemcacheSessionHandler.php, line 80

Class

MemcacheSessionHandler
MemcacheSessionHandler.

Namespace

Symfony\Component\HttpFoundation\Session\Storage\Handler

Code

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