/** * Whether specification is satisfied. * * @param T_Auth $auth * @return bool */ function isSatisfiedBy($auth) { return $this->spec->isSatisfiedBy($auth) || $this->or_spec->isSatisfiedBy($auth); }
/** * Whether specification is satisfied. * * @param T_Auth $auth * @return bool */ function isSatisfiedBy($auth) { return $this->spec->isSatisfiedBy($auth) && $this->and_spec->isSatisfiedBy($auth); }