EnvironmentInterface
in
Table of Contents
- HTML_INPUT_ALLOW = 'allow'
- HTML_INPUT_ESCAPE = 'escape'
- HTML_INPUT_STRIP = 'strip'
- dispatch() : void
- Dispatches the given event to listeners
- getBlockParsers() : iteratable<string|int, BlockParserInterface>
- getBlockRenderersForClass() : iteratable<string|int, BlockRendererInterface>
- getConfig() : mixed
- getDelimiterProcessors() : DelimiterProcessorCollection
- getInlineParserCharacterRegex() : string
- Regex which matches any character which doesn't indicate an inline element
- getInlineParsersForCharacter() : iteratable<string|int, InlineParserInterface>
- getInlineRenderersForClass() : iteratable<string|int, InlineRendererInterface>
Constants
HTML_INPUT_ALLOW
public
mixed
HTML_INPUT_ALLOW
= 'allow'
HTML_INPUT_ESCAPE
public
mixed
HTML_INPUT_ESCAPE
= 'escape'
HTML_INPUT_STRIP
public
mixed
HTML_INPUT_STRIP
= 'strip'
Methods
dispatch()
Dispatches the given event to listeners
public
dispatch(AbstractEvent $event) : void
Parameters
- $event : AbstractEvent
Return values
void —getBlockParsers()
public
getBlockParsers() : iteratable<string|int, BlockParserInterface>
Return values
iteratable<string|int, BlockParserInterface> —getBlockRenderersForClass()
public
getBlockRenderersForClass(string $blockClass) : iteratable<string|int, BlockRendererInterface>
Parameters
- $blockClass : string
Return values
iteratable<string|int, BlockRendererInterface> —getConfig()
public
getConfig([string|null $key = null ][, mixed $default = null ]) : mixed
Parameters
- $key : string|null = null
- $default : mixed = null
Return values
mixed —getDelimiterProcessors()
public
getDelimiterProcessors() : DelimiterProcessorCollection
Return values
DelimiterProcessorCollection —getInlineParserCharacterRegex()
Regex which matches any character which doesn't indicate an inline element
public
getInlineParserCharacterRegex() : string
This allows us to parse multiple non-special characters at once
Return values
string —getInlineParsersForCharacter()
public
getInlineParsersForCharacter(string $character) : iteratable<string|int, InlineParserInterface>
Parameters
- $character : string
Return values
iteratable<string|int, InlineParserInterface> —getInlineRenderersForClass()
public
getInlineRenderersForClass(string $inlineClass) : iteratable<string|int, InlineRendererInterface>
Parameters
- $inlineClass : string