header = $header; $this->form = $form; $this->authorizer = $authorizer; } public function run(Url $url) { $this->authorizer->logInUser($this->form->get("email"), $this->form->get("password")); $destinationUrl = $this->form->get("current"); $this->header->location($destinationUrl); } }