/** * Check if specification satisfied by given value * @param mixed $value * @return bool */ public function isSatisfiedBy($value) { return $this->left->isSatisfiedBy($value) && $this->right->isSatisfiedBy($value); }
/** * Determines whether or not the * passed in value is satisfied by * the specification or not * @param $value * @return bool */ public function isSatisfiedBy($value) { return $this->specOne->isSatisfiedBy($value) && $this->specTwo->isSatisfiedBy($value); }
/** * {@inheritDoc} */ public function isSatisfiedBy($value) { return !$this->wrapped->isSatisfiedBy($value); }
/** * Checks if the current transition satisfies the specifiation on the given context. * * @param ContextInterface $context * * @return bool */ public function isOpen(ContextInterface $context) { return $this->spec->isSatisfiedBy($context); }
/** * {@inheritDoc} */ public function isSatisfiedBy($value) { return $this->x->isSatisfiedBy($value) && $this->y->isSatisfiedBy($value); }
public function isSatisfiedBy(Item $item) : bool { return !$this->specification->isSatisfiedBy($item); }