public function isSpecifiedBy(Account $account) { return $account->getAmount() >= 0; }
public function isSpecifiedBy(Account $account) { $userSpec = new NewUserSpecification(); $accountSpec = new PositiveAccountSpecification(); return $userSpec->isSpecifiedBy($account->getUser()) && $accountSpec->isSpecifiedBy($account); }