EnvironmentInterface
extends
ConfigurationProviderInterface, EventDispatcherInterface
in
Interface for a service which provides a readable configuration object
Table of Contents
Methods
- dispatch() : object
- Provide all relevant listeners with an event to process.
- getBlockStartParsers() : iterable<string|int, BlockStartParserInterface>
- getConfiguration() : ConfigurationInterface
- getDelimiterProcessors() : DelimiterProcessorCollection
- getExtensions() : array<string|int, ExtensionInterface>
- Get all registered extensions
- getInlineParsers() : iterable<string|int, InlineParserInterface>
- getRenderersForClass() : iterable<string|int, NodeRendererInterface>
- getSlugNormalizer() : TextNormalizerInterface
Methods
dispatch()
Provide all relevant listeners with an event to process.
public
dispatch(object $event) : object
Parameters
- $event : object
-
The object to process.
Return values
object —The Event that was passed, now modified by listeners.
getBlockStartParsers()
public
getBlockStartParsers() : iterable<string|int, BlockStartParserInterface>
Return values
iterable<string|int, BlockStartParserInterface>getConfiguration()
public
getConfiguration() : ConfigurationInterface
Return values
ConfigurationInterfacegetDelimiterProcessors()
public
getDelimiterProcessors() : DelimiterProcessorCollection
Return values
DelimiterProcessorCollectiongetExtensions()
Get all registered extensions
public
getExtensions() : array<string|int, ExtensionInterface>
Return values
array<string|int, ExtensionInterface>getInlineParsers()
public
getInlineParsers() : iterable<string|int, InlineParserInterface>
Return values
iterable<string|int, InlineParserInterface>getRenderersForClass()
public
getRenderersForClass(string $nodeClass) : iterable<string|int, NodeRendererInterface>
Parameters
- $nodeClass : string
Tags
Return values
iterable<string|int, NodeRendererInterface>getSlugNormalizer()
public
getSlugNormalizer() : TextNormalizerInterface