AbstractProvider implements ProviderInterface

AbstractYes

Can be used by specific provider implementations and supports basic functionality, required by the interface.

Table of Contents

Interfaces

ProviderInterface
To be implemented by all configuration providers

Properties

$identifier  : string
$label  : string

Methods

__invoke()  : $this
This method must exist since it's called from the provider registry to provide the tag attributes from the definition.
getIdentifier()  : string
Returns the provider identifier
getLabel()  : string
Returns the providers' label (locallang or static text)
getLanguageService()  : LanguageService

Properties

Methods

__invoke()

This method must exist since it's called from the provider registry to provide the tag attributes from the definition.

public __invoke(array<string|int, mixed> $attributes) : $this

Note: We use __invoke so provider implementations are still able to use dependency injection via constructor arguments.

Parameters
$attributes : array<string|int, mixed>
Return values
$this

getIdentifier()

Returns the provider identifier

public getIdentifier() : string
Return values
string

getLabel()

Returns the providers' label (locallang or static text)

public getLabel() : string
Return values
string

        
On this page

Search results