LinktypeRegistry

Registry for linktypes. The registry receives all services, tagged with "linkvalidator.linktype".

The tagging of linktype is automatically done based on the implemented LinktypeInterface.

Internal

Table of Contents

Methods

__construct()  : mixed
getIdentifiers()  : array<string|int, string>
Get the identifiers of all registered linktypes
getLinktype()  : LinktypeInterface|null
getLinktypes()  : array<string|int, LinktypeInterface>
Get all registered linktypes

Methods

__construct()

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

getIdentifiers()

Get the identifiers of all registered linktypes

public getIdentifiers() : array<string|int, string>
Return values
array<string|int, string>

        
On this page

Search results