public function removeTokenParser(Twig_TokenParserInterface $parser)
    {
        $name = $parser->getTag();
        if (isset($this->parsers[$name]) && $parser === $this->parsers[$name]) {
            unset($this->parsers[$name]);
        }
    }
public function removeTokenParser(Twig_TokenParserInterface $parser)
    {
        $name = $parser->getTag();
        if (isset($this->parsers[$name]) && $parser === $this->parsers[$name]) {
            unset($this->parsers[$name]);
        }
    }
public function removeTokenParser ( Twig_TokenParserInterface $ parser ) { $ name = $ parser -> getTag ( ) ; if ( isset ( $ this -> parsers [ $ name ] ) && $ parser === $ this -> parsers [ $ name ] ) { unset ( $ this -> parsers [ $ name ] ) ; } }
Removes a TokenParser.

@param Twig_TokenParserInterface $parser A Twig_TokenParserInterface instance
Removes a TokenParser .