public function isMatching(ConditionCollection $conditions)
    {
        $isMatching = true;
        /** @var ConditionInterface $condition */
        foreach ($conditions as $condition) {
            if (!$condition->isMatching()) {
                return false;
            }
        }

        return $isMatching;
    }
public function isMatching(ConditionCollection $conditions)
    {
        $isMatching = true;
        /** @var ConditionInterface $condition */
        foreach ($conditions as $condition) {
            if (!$condition->isMatching()) {
                return false;
            }
        }

        return $isMatching;
    }
public function isMatching ( ConditionCollection $ conditions ) { $ isMatching = true ; /** @var ConditionInterface $condition */ foreach ( $ conditions as $ condition ) { if ( ! $ condition -> isMatching ( ) ) { return false ; } } return $ isMatching ; }
Check if an Event matches SerializableCondition

@param ConditionCollection $conditions Conditions to check against the Event

@return bool
Check if an Event matches SerializableCondition