Documentation

MapResourceIteratorFactory extends AbstractResourceIteratorFactory
in package

Resource iterator factory used when explicitly mapping strings to iterator classes

Table of Contents

Properties

$map  : array<string|int, mixed>

Methods

__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


        
On this page

Search results