PHP Class League\CommonMark\Extension\MiscExtension

Inheritance: implements League\CommonMark\Extension\ExtensionInterface
Mostrar archivo Open project: colinodell/commonmark-php Class Usage Examples

Protected Properties

Property Type Description
$blockParsers League\CommonMark\Block\Parser\BlockParserInterface[]
$blockRenderers League\CommonMark\Block\Renderer\BlockRendererInterface[]
$documentProcessors League\CommonMark\DocumentProcessorInterface[]
$inlineParsers League\CommonMark\Inline\Parser\InlineParserInterface[]
$inlineProcessers League\CommonMark\Inline\Processor\InlineProcessorInterface[]
$inlineRenderers League\CommonMark\Inline\Renderer\InlineRendererInterface[]

Public Methods

Method Description
addBlockParser ( League\CommonMark\Block\Parser\BlockParserInterface $blockParser )
addBlockRenderer ( string $blockClass, League\CommonMark\Block\Renderer\BlockRendererInterface $blockRenderer )
addDocumentProcessor ( League\CommonMark\DocumentProcessorInterface $documentProcessor )
addInlineParser ( League\CommonMark\Inline\Parser\InlineParserInterface $inlineParser )
addInlineProcessor ( League\CommonMark\Inline\Processor\InlineProcessorInterface $inlineProcessor )
addInlineRenderer ( string $inlineClass, League\CommonMark\Inline\Renderer\InlineRendererInterface $inlineRenderer )
getBlockParsers ( ) : League\CommonMark\Block\Parser\BlockParserInterface[] Returns a list of block parsers to add to the existing list
getBlockRenderers ( ) : League\CommonMark\Block\Renderer\BlockRendererInterface[] Returns a list of block renderers to add to the existing list
getDocumentProcessors ( ) : League\CommonMark\DocumentProcessorInterface[]
getInlineParsers ( ) : League\CommonMark\Inline\Parser\InlineParserInterface[] Returns a list of inline parsers to add to the existing list
getInlineProcessors ( ) : League\CommonMark\Inline\Processor\InlineProcessorInterface[] Returns a list of inline processors to add to the existing list
getInlineRenderers ( ) : League\CommonMark\Inline\Renderer\InlineRendererInterface[] Returns a list of inline renderers to add to the existing list

Method Details

addBlockParser() public method

public addBlockParser ( League\CommonMark\Block\Parser\BlockParserInterface $blockParser )
$blockParser League\CommonMark\Block\Parser\BlockParserInterface

addBlockRenderer() public method

public addBlockRenderer ( string $blockClass, League\CommonMark\Block\Renderer\BlockRendererInterface $blockRenderer )
$blockClass string
$blockRenderer League\CommonMark\Block\Renderer\BlockRendererInterface

addDocumentProcessor() public method

public addDocumentProcessor ( League\CommonMark\DocumentProcessorInterface $documentProcessor )
$documentProcessor League\CommonMark\DocumentProcessorInterface

addInlineParser() public method

public addInlineParser ( League\CommonMark\Inline\Parser\InlineParserInterface $inlineParser )
$inlineParser League\CommonMark\Inline\Parser\InlineParserInterface

addInlineProcessor() public method

public addInlineProcessor ( League\CommonMark\Inline\Processor\InlineProcessorInterface $inlineProcessor )
$inlineProcessor League\CommonMark\Inline\Processor\InlineProcessorInterface

addInlineRenderer() public method

public addInlineRenderer ( string $inlineClass, League\CommonMark\Inline\Renderer\InlineRendererInterface $inlineRenderer )
$inlineClass string
$inlineRenderer League\CommonMark\Inline\Renderer\InlineRendererInterface

getBlockParsers() public method

Returns a list of block parsers to add to the existing list
public getBlockParsers ( ) : League\CommonMark\Block\Parser\BlockParserInterface[]
return League\CommonMark\Block\Parser\BlockParserInterface[]

getBlockRenderers() public method

The list keys are the block class names which the corresponding value (renderer) will handle.
public getBlockRenderers ( ) : League\CommonMark\Block\Renderer\BlockRendererInterface[]
return League\CommonMark\Block\Renderer\BlockRendererInterface[]

getDocumentProcessors() public method

public getDocumentProcessors ( ) : League\CommonMark\DocumentProcessorInterface[]
return League\CommonMark\DocumentProcessorInterface[]

getInlineParsers() public method

Returns a list of inline parsers to add to the existing list
public getInlineParsers ( ) : League\CommonMark\Inline\Parser\InlineParserInterface[]
return League\CommonMark\Inline\Parser\InlineParserInterface[]

getInlineProcessors() public method

Returns a list of inline processors to add to the existing list
public getInlineProcessors ( ) : League\CommonMark\Inline\Processor\InlineProcessorInterface[]
return League\CommonMark\Inline\Processor\InlineProcessorInterface[]

getInlineRenderers() public method

The list keys are the inline class names which the corresponding value (renderer) will handle.
public getInlineRenderers ( ) : League\CommonMark\Inline\Renderer\InlineRendererInterface[]
return League\CommonMark\Inline\Renderer\InlineRendererInterface[]

Property Details

$blockParsers protected_oe property

protected BlockParserInterface[],League\CommonMark\Block\Parser $blockParsers
return League\CommonMark\Block\Parser\BlockParserInterface[]

$blockRenderers protected_oe property

protected BlockRendererInterface[],League\CommonMark\Block\Renderer $blockRenderers
return League\CommonMark\Block\Renderer\BlockRendererInterface[]

$documentProcessors protected_oe property

protected DocumentProcessorInterface[],League\CommonMark $documentProcessors
return League\CommonMark\DocumentProcessorInterface[]

$inlineParsers protected_oe property

protected InlineParserInterface[],League\CommonMark\Inline\Parser $inlineParsers
return League\CommonMark\Inline\Parser\InlineParserInterface[]

$inlineProcessers protected_oe property

protected InlineProcessorInterface[],League\CommonMark\Inline\Processor $inlineProcessers
return League\CommonMark\Inline\Processor\InlineProcessorInterface[]

$inlineRenderers protected_oe property

protected InlineRendererInterface[],League\CommonMark\Inline\Renderer $inlineRenderers
return League\CommonMark\Inline\Renderer\InlineRendererInterface[]