public function remove(TextParser $parser)
    {
        $parserHash = $this->objectHash($parser);

        $this->parsers = array_filter($this->parsers, function ($known) use ($parserHash) {
            return $this->objectHash($known) != $parserHash;
        });

        if (isset($this->parserIds[$parserHash])) {
            unset($this->parserIds[$parserHash]);
        }

        return $this;
    }
public function remove(TextParser $parser)
    {
        $parserHash = $this->objectHash($parser);

        $this->parsers = array_filter($this->parsers, function ($known) use ($parserHash) {
            return $this->objectHash($known) != $parserHash;
        });

        if (isset($this->parserIds[$parserHash])) {
            unset($this->parserIds[$parserHash]);
        }

        return $this;
    }
public function remove ( TextParser $ parser ) { $ parserHash = $ this -> objectHash ( $ parser ) ; $ this -> parsers = array_filter ( $ this -> parsers , function ( $ known ) use ( $ parserHash ) { return $ this -> objectHash ( $ known ) != $ parserHash ; } ) ; if ( isset ( $ this -> parserIds [ $ parserHash ] ) ) { unset ( $ this -> parserIds [ $ parserHash ] ) ; } return $ this ; }
Remove a parser from the render queue.

@param \Ems\Contracts\Core\TextParser $parser

@return self
Remove a parser from the render queue .