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

# Interface ResourceIteratorFactoryInterface

Factory for creating `Guzzle\Service\Resource\ResourceIteratorInterface` objects

### Direct known implementers

`Aws\Common\Iterator\AwsResourceIteratorFactory`, `Guzzle\Service\Resource\AbstractResourceIteratorFactory`, `Guzzle\Service\Resource\CompositeResourceIteratorFactory`

### Indirect known implementers

`Guzzle\Service\Resource\MapResourceIteratorFactory`, `Guzzle\Service\Resource\ResourceIteratorClassFactory`

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

## Methods summary

- `public` `build ( Guzzle\Service\Command\CommandInterface $command, array $options = array() )`

  Create a resource iterator

- `public` `canBuild ( Guzzle\Service\Command\CommandInterface $command )`

  Check if the factory can create an iterator

## Methods detail

# `public `Guzzle\Service\Resource\ResourceIteratorInterface``
`build( `Guzzle\Service\Command\CommandInterface` $command, array $options = array() )`

Create a resource iterator

#### Parameters

$command
  ``Guzzle\Service\Command\CommandInterface``
  $command Command to create an iterator for
$options
  `array`
  $options Iterator options that are exposed as data.

#### Returns

``Guzzle\Service\Resource\ResourceIteratorInterface``
# `public boolean`
`canBuild( `Guzzle\Service\Command\CommandInterface` $command )`

Check if the factory can create an iterator

#### Parameters

$command
  ``Guzzle\Service\Command\CommandInterface``
  $command Command to create an iterator for

#### Returns

`boolean`

### Magic methods summary