public function addValueMatcher($token, array $params = [], $priority = null)
    {
        if ($priority) {
            array_unshift($this->valueMatchers, ['token' => $token, 'params' => $params]);
        } else {
            $this->valueMatchers[] = ['token' => $token, 'params' => $params];
        }
    }
public function addValueMatcher($token, array $params = [], $priority = null)
    {
        if ($priority) {
            array_unshift($this->valueMatchers, ['token' => $token, 'params' => $params]);
        } else {
            $this->valueMatchers[] = ['token' => $token, 'params' => $params];
        }
    }
public function addValueMatcher ( $ token , array $ params = [ ] , $ priority = null ) { if ( $ priority ) { array_unshift ( $ this -> valueMatchers , [ 'token' => $ token , 'params' => $ params ] ) ; } else { $ this -> valueMatchers [ ] = [ 'token' => $ token , 'params' => $ params ] ; } }
Adds an additional token to parse for value parameters.

This gives the ability to define additional value -> operator matches

@param string $token    Regex pattern to match against
@param array  $params   Options to provide to the matched param
@param bool   $priority If set item will be prepended to start of list
Adds an additional token to parse for value parameters .