public function compare($string)
    {
        foreach ($this->tokens as $token) {
            if ($token->hasTokenBeenFound()) {
                continue;
            }
            $token->compare($string);
        }
    }
public function compare($string)
    {
        foreach ($this->tokens as $token) {
            if ($token->hasTokenBeenFound()) {
                continue;
            }
            $token->compare($string);
        }
    }
public function compare ( $ string ) { foreach ( $ this -> tokens as $ token ) { if ( $ token -> hasTokenBeenFound ( ) ) { continue ; } $ token -> compare ( $ string ) ; } }
Given some string, see if it matches any of our tokens.

@param string $string
Given some string see if it matches any of our tokens .