NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class MapResourceIteratorFactory

Resource iterator factory used when explicitly mapping strings to iterator classes

  Guzzle\Service\Resource\AbstractResourceIteratorFactory implements Guzzle\Service\Resource\ResourceIteratorFactoryInterface
  Guzzle\Service\Resource\MapResourceIteratorFactory

Namespace: Guzzle\Service\Resource
Located at Guzzle/Service/Resource/MapResourceIteratorFactory.php

## Methods summary

- `public` `__construct ( array $map )`
- `public` `getClassName ( Guzzle\Service\Command\CommandInterface $command )`

  Get the name of the class to instantiate for the command

## Methods detail

# `public`
`__construct( array $map )`

#### Parameters

$map
  `array`
  $map Associative array mapping iterator names to class names

# `public string`
`getClassName( `Guzzle\Service\Command\CommandInterface` $command )`

Get the name of the class to instantiate for the command

#### Parameters

$command
  ``Guzzle\Service\Command\CommandInterface``
  $command Command that is associated with the iterator

#### Returns

`string`

### Methods inherited from Guzzle\Service\Resource\AbstractResourceIteratorFactory

`build()`, `canBuild()`

### Magic methods summary

## Properties summary

`protected array` | $map | # Associative array mapping iterator names to class names