phpDocumentor

StatisticsOverviewWidgetDefinitionProvider

Class representing a service for collecting and providing all available widget.

This class acts as a registry which provides a convenient function to register a new widget. The registered widget can either be retrieved by its ID. You can also return a series of widgets with the same category.

Table of Contents

$definitions  : array<string|int, WidgetDefinition>
Registered widgets.
$factory  : StatisticsOverviewFactory
Factory.
__construct()  : mixed
Constructor.
getByCategory()  : WidgetDefinitions
Return widget definitions by category.
getById()  : WidgetDefinition
Return widget definition by ID.
register()  : void
Register widget definition.

Properties

Methods

Search results