Matcher/ParallelMatcher.php
public function matchArray(array $tokens, $reset = true)
    {
        if ($reset) {
            $this->reset();
        }
        foreach ($tokens as $t) {
            if (!$this->match($t)) {
                return false;
            }
        }
        return true;
    }
public function matchArray(array $tokens, $reset = true)
    {
        if ($reset) {
            $this->reset();
        }
        foreach ($tokens as $t) {
            if (!$this->match($t)) {
                return false;
            }
        }
        return true;
    }
public function matchArray ( array $ tokens , $ reset = true ) { if ( $ reset ) { $ this -> reset ( ) ; } foreach ( $ tokens as $ t ) { if ( ! $ this -> match ( $ t ) ) { return false ; } } return true ; }
Matches an array of tokens against the configured patterns

Returns true if there were no mismatches in the input
array. The total number of matches can be found with
numMatches()

@param array $tokens
@param boolean $reset
@return boolean
Matches an array of tokens against the configured patterns