protected function getSession() { if ($this->sessionResolver) { return call_user_func($this->sessionResolver); } }