/** * Find a member profile by email * * @param string $email * * @return Member * @throws \Exception */ public function findByEmail($email) { if (empty($email)) { throw new \Exception('Member email is required.'); } return $this->manager->getMemberService()->findByEmail($email); }