Registry of controller callbacks per entity type.
More...
|
| | __construct (private readonly array $controllerDefinitions) |
| | get (string $field) |
Registry of controller callbacks per entity type.
- Copyright
- GPL-2.0-or-later
◆ __construct()
| Wikibase\Repo\ControllerRegistry::__construct |
( |
private readonly array | $controllerDefinitions | ) |
|
- Parameters
-
| array<string,array<string,callable>> | $controllerDefinitions |
◆ get()
| Wikibase\Repo\ControllerRegistry::get |
( |
string | $field | ) |
|
- Parameters
-
| string | $field | one of the constants declared in this class |
- Returns
- array<string, callable> map of entity type => callback for that field
◆ WB_SEARCH_ENTITIES_CONTROLLER
| const Wikibase\Repo\ControllerRegistry::WB_SEARCH_ENTITIES_CONTROLLER = 'wbsearchentities-controller' |
The documentation for this class was generated from the following file: