Свойство | Тип | Описание | |
---|---|---|---|
$blockParsers | League\CommonMark\Block\Parser\BlockParserInterface[] | ||
$blockRenderersByClass | League\CommonMark\Block\Renderer\BlockRendererInterface[] | ||
$config | |||
$documentProcessors | League\CommonMark\DocumentProcessorInterface[] | ||
$extensions | League\CommonMark\Extension\ExtensionInterface[] | ||
$extensionsInitialized | boolean | ||
$inlineParserCharacterRegex | string | ||
$inlineParsers | League\CommonMark\Inline\Parser\InlineParserInterface[] | ||
$inlineParsersByCharacter | array | ||
$inlineProcessors | League\CommonMark\Inline\Processor\InlineProcessorInterface[] | ||
$inlineRenderersByClass | League\CommonMark\Inline\Renderer\InlineRendererInterface[] |
Метод | Описание | |
---|---|---|
__construct ( array $config = [] ) | ||
addBlockParser ( League\CommonMark\Block\Parser\BlockParserInterface $parser ) | ||
addBlockRenderer ( string $blockClass, League\CommonMark\Block\Renderer\BlockRendererInterface $blockRenderer ) | ||
addDocumentProcessor ( League\CommonMark\DocumentProcessorInterface $processor ) | ||
addExtension ( League\CommonMark\Extension\ExtensionInterface $extension ) | Add a single extension | |
addInlineParser ( League\CommonMark\Inline\Parser\InlineParserInterface $parser ) | ||
addInlineProcessor ( League\CommonMark\Inline\Processor\InlineProcessorInterface $processor ) | ||
addInlineRenderer ( string $inlineClass, League\CommonMark\Inline\Renderer\InlineRendererInterface $renderer ) | ||
createCommonMarkEnvironment ( ) : |
||
createInlineParserEngine ( ) | ||
getBlockParsers ( ) : League\CommonMark\Block\Parser\BlockParserInterface[] | ||
getBlockRendererForClass ( string $blockClass ) : League\CommonMark\Block\Renderer\BlockRendererInterface | null | ||
getConfig ( string | null $key = null, mixed $default = null ) : mixed | ||
getDocumentProcessors ( ) : League\CommonMark\DocumentProcessorInterface[] | ||
getExtensions ( ) : League\CommonMark\Extension\ExtensionInterface[] | Get all registered extensions | |
getInlineParser ( string $name ) : League\CommonMark\Inline\Parser\InlineParserInterface | ||
getInlineParserCharacterRegex ( ) : string | Regex which matches any character which doesn't indicate an inline element | |
getInlineParsers ( ) : League\CommonMark\Inline\Parser\InlineParserInterface[] | ||
getInlineParsersForCharacter ( string $character ) : League\CommonMark\Inline\Parser\InlineParserInterface[] | null | ||
getInlineProcessors ( ) : League\CommonMark\Inline\Processor\InlineProcessorInterface[] | ||
getInlineRendererForClass ( string $inlineClass ) : League\CommonMark\Inline\Renderer\InlineRendererInterface | null | ||
mergeConfig ( array $config = [] ) | ||
setConfig ( array $config = [] ) |
Метод | Описание | |
---|---|---|
initializeExtension ( League\CommonMark\Extension\ExtensionInterface $extension ) | ||
initializeExtensions ( ) |
Метод | Описание | |
---|---|---|
assertUninitialized ( string $message ) | ||
buildInlineParserCharacterRegex ( ) | ||
getMiscExtension ( ) : |
||
initalizeBlockParsers ( League\CommonMark\Block\Parser\BlockParserInterface[] $blockParsers ) | ||
initializeBlockRenderers ( League\CommonMark\Block\Renderer\BlockRendererInterface[] $blockRenderers ) | ||
initializeDocumentProcessors ( League\CommonMark\DocumentProcessorInterface[] $documentProcessors ) | ||
initializeInlineParsers ( League\CommonMark\Inline\Parser\InlineParserInterface[] $inlineParsers ) | ||
initializeInlineProcessors ( League\CommonMark\Inline\Processor\InlineProcessorInterface[] $inlineProcessors ) | ||
initializeInlineRenderers ( League\CommonMark\Inline\Renderer\InlineRendererInterface[] $inlineRenderers ) |
public addBlockParser ( League\CommonMark\Block\Parser\BlockParserInterface $parser ) | ||
$parser | League\CommonMark\Block\Parser\BlockParserInterface |
public addBlockRenderer ( string $blockClass, League\CommonMark\Block\Renderer\BlockRendererInterface $blockRenderer ) | ||
$blockClass | string | |
$blockRenderer | League\CommonMark\Block\Renderer\BlockRendererInterface |
public addDocumentProcessor ( League\CommonMark\DocumentProcessorInterface $processor ) | ||
$processor | League\CommonMark\DocumentProcessorInterface |
public addExtension ( League\CommonMark\Extension\ExtensionInterface $extension ) | ||
$extension | League\CommonMark\Extension\ExtensionInterface |
public addInlineParser ( League\CommonMark\Inline\Parser\InlineParserInterface $parser ) | ||
$parser | League\CommonMark\Inline\Parser\InlineParserInterface |
public addInlineProcessor ( League\CommonMark\Inline\Processor\InlineProcessorInterface $processor ) | ||
$processor | League\CommonMark\Inline\Processor\InlineProcessorInterface |
public addInlineRenderer ( string $inlineClass, League\CommonMark\Inline\Renderer\InlineRendererInterface $renderer ) | ||
$inlineClass | string | |
$renderer | League\CommonMark\Inline\Renderer\InlineRendererInterface |
public static createCommonMarkEnvironment ( ) : |
||
Результат |
public getBlockParsers ( ) : League\CommonMark\Block\Parser\BlockParserInterface[] | ||
Результат | League\CommonMark\Block\Parser\BlockParserInterface[] |
public getBlockRendererForClass ( string $blockClass ) : League\CommonMark\Block\Renderer\BlockRendererInterface | null | ||
$blockClass | string | |
Результат | League\CommonMark\Block\Renderer\BlockRendererInterface | null |
public getDocumentProcessors ( ) : League\CommonMark\DocumentProcessorInterface[] | ||
Результат | League\CommonMark\DocumentProcessorInterface[] |
public getExtensions ( ) : League\CommonMark\Extension\ExtensionInterface[] | ||
Результат | League\CommonMark\Extension\ExtensionInterface[] |
public getInlineParser ( string $name ) : League\CommonMark\Inline\Parser\InlineParserInterface | ||
$name | string | |
Результат | League\CommonMark\Inline\Parser\InlineParserInterface |
public getInlineParserCharacterRegex ( ) : string | ||
Результат | string |
public getInlineParsers ( ) : League\CommonMark\Inline\Parser\InlineParserInterface[] | ||
Результат | League\CommonMark\Inline\Parser\InlineParserInterface[] |
public getInlineParsersForCharacter ( string $character ) : League\CommonMark\Inline\Parser\InlineParserInterface[] | null | ||
$character | string | |
Результат | League\CommonMark\Inline\Parser\InlineParserInterface[] | null |
public getInlineProcessors ( ) : League\CommonMark\Inline\Processor\InlineProcessorInterface[] | ||
Результат | League\CommonMark\Inline\Processor\InlineProcessorInterface[] |
public getInlineRendererForClass ( string $inlineClass ) : League\CommonMark\Inline\Renderer\InlineRendererInterface | null | ||
$inlineClass | string | |
Результат | League\CommonMark\Inline\Renderer\InlineRendererInterface | null |
protected initializeExtension ( League\CommonMark\Extension\ExtensionInterface $extension ) | ||
$extension | League\CommonMark\Extension\ExtensionInterface |
protected BlockParserInterface[],League\CommonMark\Block\Parser $blockParsers | ||
Результат | League\CommonMark\Block\Parser\BlockParserInterface[] |
protected BlockRendererInterface[],League\CommonMark\Block\Renderer $blockRenderersByClass | ||
Результат | League\CommonMark\Block\Renderer\BlockRendererInterface[] |
protected Configuration,League\CommonMark\Util $config | ||
Результат |
protected DocumentProcessorInterface[],League\CommonMark $documentProcessors | ||
Результат | League\CommonMark\DocumentProcessorInterface[] |
protected ExtensionInterface[],League\CommonMark\Extension $extensions | ||
Результат | League\CommonMark\Extension\ExtensionInterface[] |
protected string $inlineParserCharacterRegex | ||
Результат | string |
protected InlineParserInterface[],League\CommonMark\Inline\Parser $inlineParsers | ||
Результат | League\CommonMark\Inline\Parser\InlineParserInterface[] |
protected array $inlineParsersByCharacter | ||
Результат | array |
protected InlineProcessorInterface[],League\CommonMark\Inline\Processor $inlineProcessors | ||
Результат | League\CommonMark\Inline\Processor\InlineProcessorInterface[] |