ComponentFactoryInterface
API reference › HTML Core › Factory › ComponentFactoryInterface
Creates components from semantic config contexts.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
create() abstract | Creates the component represented by the supplied context. | ComponentFactoryInterface |
Method details
Section titled “Method details”create()
Section titled “create() ”abstract public function create(UIAwesome\Html\Core\Config\ComponentContext $context): objectCreates the component represented by the supplied context.
Parameters
| Parameter | Type | Description |
|---|---|---|
$context | UIAwesome\ | Semantic component context. |
Returns
object: Created component instance.