/**
* @param BlockParserInterface $parser
*
* @return $this
*/
public function addBlockParser(BlockParserInterface $parser)
{
if ($this->extensionsInitialized) {
throw new \RuntimeException('Failed to add block parser - extensions have already been initialized');
}
$this->miscExtension->addBlockParser($parser);
return $this;
}