Skip to content

EditorFactoryInterface

MekDrop edited this page Jul 25, 2022 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\Contracts\Editor\Factory\EditorFactoryInterface

Interface for describing editor factory

Methods

Name Description
create Create editor instance from config
getInfo Gets info about what this factory creates

EditorFactoryInterface::create

Description

public create (array $config, bool $checkCompatible)

Create editor instance from config

Parameters

  • (array) $config : Configuration for new editor instance
  • (bool) $checkCompatible : If config check fails throws IncompatibleEditorException

Return Values

\EditorAdapterInterface

Throws Exceptions

\IncompatibleEditorException


EditorFactoryInterface::getInfo

Description

public getInfo (void)

Gets info about what this factory creates

Parameters

This function has no parameters.

Return Values

\EditorInfoInterface


Clone this wiki locally