phpBB API Documentation
Class

phpbb\di\ordered_service_collection

class ordered_service_collection extends service_collection

Collection of services in a specified order

Methods

__construct(ContainerInterface $container)

Constructor

getIterator()

{@inheritdoc}

offsetExists($index)

{@inheritdoc}

offsetGet($index)

{@inheritdoc}

null add(string $service_id, int $order)

Adds a service ID to the collection

Details

at line 38
public __construct(ContainerInterface $container)

Constructor

Parameters

ContainerInterface $container Container object

at line 49
public getIterator()

{@inheritdoc}

at line 62
public offsetExists($index)

{@inheritdoc}

Parameters

$index

at line 75
public offsetGet($index)

{@inheritdoc}

Parameters

$index

at line 91
public null add(string $service_id, int $order)

Adds a service ID to the collection

Parameters

string $service_id
int $order

Return Value

null