/** * @param $email * @param $password * @return bool */ public function execute($email, $password) { return $this->authenticationService->authenticate($email, $password); }
public function __construct($repository, $session) { parent::__construct($repository); $this->session = $session; }
public function execute() { return $this->authenticationService->logout(); }