public function isSatisfiedBy(Item $item): bool
    {
        foreach ($this->specifications as $specification) {
            if (!$specification->isSatisfiedBy($item)) {
                return false;
            }
        }

        return true;
    }
public function isSatisfiedBy(Item $item): bool
    {
        foreach ($this->specifications as $specification) {
            if (!$specification->isSatisfiedBy($item)) {
                return false;
            }
        }

        return true;
    }
public function isSatisfiedBy ( Item $ item ) : bool { foreach ( $ this -> specifications as $ specification ) { if ( ! $ specification -> isSatisfiedBy ( $ item ) ) { return false ; } } return true ; }
if at least one specification is false, return false, else return true.
if at least one specification is false return false else return true .