view = $view; $this->authorizer = $authorizer; } public function run(Url $url) { $this->authorizer->rejectIfNotAuthorized(); $viewData = array( "url" => $url, "isLoggedIn" => true, "title" => "Browser Game - Profile" ); return $this->view->render("profile.php", $viewData); } }