CodeEditor implements SingletonInterface

Provides necessary code to set up a code editor instance in FormEngine

Internal
Tags
todo:

refactor to use DI

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Properties

$configuration  : array<string|int, mixed>|null

Methods

registerConfiguration()  : void
Registers the configuration and bootstraps the modes / addons.
buildConfiguration()  : array<string|int, mixed>
Compiles the configuration for code editor. Configuration is stored in caching framework.
generateCacheIdentifier()  : string
getCache()  : FrontendInterface

Properties

$configuration

protected array<string|int, mixed>|null $configuration = null

Methods

registerConfiguration()

Registers the configuration and bootstraps the modes / addons.

public registerConfiguration() : void
Tags
throws
InvalidArgumentException

buildConfiguration()

Compiles the configuration for code editor. Configuration is stored in caching framework.

protected buildConfiguration() : array<string|int, mixed>
Tags
throws
NoSuchCacheException
throws
InvalidDataException
throws
InvalidArgumentException
Return values
array<string|int, mixed>

        
On this page

Search results