public function __construct(Environment $view, Redirector $redirect) { $this->view = $view; $this->redirect = $redirect; }