Beispiel #1
0
 /**
  * Check to see if the specification is satisfied
  *
  * @param Username $username
  * @return bool
  */
 public function isSatisfiedBy(Username $username)
 {
     if (!$this->repository->userOfUsername($username)) {
         return true;
     }
     return false;
 }