class KalimahApps / Daleel / Containers / BlockParser

BlockParser

This class is the return for createBlockStartParser method in ContainerParser class.

Implements

  • League\...\BlockStartParserInterface

Methods

public

tryStart ( League\...\Cursor $cursor , League\...\MarkdownParserStateInterface $parser_state ) : League\...\BlockStart

Check whether we should handle the block at the current position.

Parameters

  • $cursor League\...\Cursor
    A cloned copy of the cursor at the current parsing location
  • $parser_state League\...\MarkdownParserStateInterface
    Additional information about the state of the Markdown parser