public function addParser(ParserInterface $parser)
    {
        $this->parsers = [(string) $parser => $parser] + $this->parsers;

        return $this;
    }
public function addParser(ParserInterface $parser)
    {
        $this->parsers = [(string) $parser => $parser] + $this->parsers;

        return $this;
    }
public function addParser ( ParserInterface $ parser ) { $ this -> parsers = [ ( string ) $ parser => $ parser ] + $ this -> parsers ; return $ this ; }
Add parser to the beginning of parsers list

@param ParserInterface $parser
@return $this
Add parser to the beginning of parsers list