Class

eZ\Bundle\EzPublishIOBundle\Migration\FileListerRegistry\ConfigurableRegistry

class ConfigurableRegistry implements FileListerRegistry

A registry of FileListerInterfaces which is configurable via the array passed to its constructor.

Methods

__construct(array $items = array())

FileListerInterface getItem(string $identifier)

Returns the FileListerInterface matching the argument.

string[] getIdentifiers()

Returns the identifiers of all registered FileListerInterfaces.

Details

at line 23
public __construct(array $items = array())

Parameters

array $items Hash of FileListerInterfaces, with identifier string as key.

at line 37
public FileListerInterface getItem(string $identifier)

Returns the FileListerInterface matching the argument.

Parameters

string $identifier An identifier string.

Return Value

FileListerInterface The FileListerInterface given by the identifier.

Exceptions

NotFoundException If no FileListerInterface exists with this identifier

at line 51
public string[] getIdentifiers()

Returns the identifiers of all registered FileListerInterfaces.

Return Value

string[] Array of identifier strings.