public function getTokenWithKey($key)
    {
        if (array_key_exists($key, $this->registry)) {
            return $this->registry[$key];
        }

        return null;
    }
public function getTokenWithKey($key)
    {
        if (array_key_exists($key, $this->registry)) {
            return $this->registry[$key];
        }

        return null;
    }
public function getTokenWithKey ( $ key ) { if ( array_key_exists ( $ key , $ this -> registry ) ) { return $ this -> registry [ $ key ] ; } return null ; }
Get a Token entry by it's key

@param mixed $key The key to get the token for

@return \Org\Heigl\Hyphenator\Tokenizer\Token
Get a Token entry by it s key