‪TYPO3CMS  ‪main
TYPO3\CMS\Reports\Registry\StatusRegistry Class Reference

Public Member Functions

 __construct (iterable $providers)
 
StatusProviderInterface[] getProviders ()
 

Private Attributes

array $providers = []
 

Detailed Description

Registry for status providers. The registry receives all services, tagged with "reports.status". The tagging of status providers is automatically done based on the implemented StatusProviderInterface.

Definition at line 28 of file StatusRegistry.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Reports\Registry\StatusRegistry::__construct ( iterable  $providers)
Parameters
iterable<StatusProviderInterface>‪$providers

Definition at line 38 of file StatusRegistry.php.

References TYPO3\CMS\Reports\Registry\StatusRegistry\$providers.

Member Function Documentation

◆ getProviders()

StatusProviderInterface [] TYPO3\CMS\Reports\Registry\StatusRegistry::getProviders ( )

Get all registered status providers

Returns
StatusProviderInterface[]

Definition at line 50 of file StatusRegistry.php.

References TYPO3\CMS\Reports\Registry\StatusRegistry\$providers.

Member Data Documentation

◆ $providers

array TYPO3\CMS\Reports\Registry\StatusRegistry::$providers = []
private