Пример #1
0
 /**
  * Checks if the value meets the specification
  *
  * @param mixed[] $value
  * @return bool
  */
 public function isSatisfiedBy(array $value)
 {
     return !$this->wrapped->isSatisfiedBy($value);
 }
Пример #2
0
 /**
  * Checks if the value meets the specification
  *
  * @param mixed[] $value
  * @return bool
  */
 public function isSatisfiedBy(array $value)
 {
     return $this->one->isSatisfiedBy($value) && $this->other->isSatisfiedBy($value);
 }