\lloc\Msls\ContentImport\ImportersMap

Class MslsRegistryInstance

Summary

Methods
Properties
Constants
instance()
make()
factories()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

instance()

instance() : static

Gets or creates an instance of the called class

Returns

static

make()

make(\lloc\Msls\ContentImport\ImportCoordinates  $import_coordinates) : array

Builds and returns an array of importers for the specified import coordinates.

Parameters

\lloc\Msls\ContentImport\ImportCoordinates $import_coordinates

Returns

array —

An array of importer instances in the shape [ => <Importer: $importer> ]

factories()

factories() : array

Returns a filtered list of factories that will provide the importers.

Returns

array —

An associative array in the shape [ <string: $slug> => <ImportersFactory: $factory> ]