-
Notifications
You must be signed in to change notification settings - Fork 0
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
Name | Description |
---|---|
create | Create editor instance from config |
getInfo | Gets info about what this factory creates |
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
Description
public getInfo (void)
Gets info about what this factory creates
Parameters
This function has no parameters.
Return Values
\EditorInfoInterface