public function __construct($request, $response, $session = null) { $this->request = $request; $this->response = $response; $this->session = $session; }