spec = $spec; } /** * Returns the negated result of the wrapped specification * * @param Item $item * * @return bool */ public function isSatisfiedBy(Item $item) { return !$this->spec->isSatisfiedBy($item); } }