프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 InlineParserInterface[],League\CommonMark\Inline\Parser $inlineParsers | ||
리턴 | League\CommonMark\Inline\Parser\InlineParserInterface[] |
protected InlineProcessorInterface[],League\CommonMark\Inline\Processor $inlineProcessors | ||
리턴 | League\CommonMark\Inline\Processor\InlineProcessorInterface[] |