ElementBrowserRegistry

Registry for element browsers. The registry receives all services, tagged with "recordlist.elementbrowser".

The tagging of element browsers is automatically done based on the implemented ElementBrowserInterface.

Internal

Table of Contents

Methods

__construct()  : mixed
getElementBrowser()  : ElementBrowserInterface
Get registered element browser by identifier
getElementBrowsers()  : array<string|int, ElementBrowserInterface>
Get all registered element browsers
hasElementBrowser()  : bool
Whether a registered element browser exists for the identifier

Methods

__construct()

public __construct(iterable<string|int, mixed> $elementBrowsers) : mixed
Parameters
$elementBrowsers : iterable<string|int, mixed>

hasElementBrowser()

Whether a registered element browser exists for the identifier

public hasElementBrowser(string $identifier) : bool
Parameters
$identifier : string
Return values
bool

        
On this page

Search results