Documentation

MapResourceIteratorFactory extends AbstractResourceIteratorFactory
in package

Resource iterator factory used when explicitly mapping strings to iterator classes

Table of Contents

$map  : array<string|int, mixed>
__construct()  : mixed
build()  : ResourceIteratorInterface
Create a resource iterator
canBuild()  : bool
Check if the factory can create an iterator
getClassName()  : string
Get the name of the class to instantiate for the command

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $map) : mixed
Parameters
$map : array<string|int, mixed>

Associative array mapping iterator names to class names

Return values
mixed

Search results