You are here

public function SessionProxy_Helper::getBackend in Session Proxy 7

Get backend.

Return value

SessionProxy_Backend_Interface

File

lib/SessionProxy/Helper.php, line 76

Class

SessionProxy_Helper
Static tool container.

Code

public function getBackend() {
  if (!isset($this->backend)) {
    throw new Exception("No default implementation exists.");
  }
  return $this->backend;
}