Class WaiterConfigFactory
Factory for creating Aws\Common\Waiter\WaiterInterface
objects using a configuration
DSL.
- Aws\Common\Waiter\WaiterConfigFactory implements Aws\Common\Waiter\WaiterFactoryInterface
Methods summary
-
public
__construct ( array $config, Guzzle\Inflection\InflectorInterface $inflector = null )
-
public
build ( string $waiter )
Create a waiter by name
-
public
canBuild ( string $waiter )
Check if the factory can create a waiter by a specific name
-
protected
getWaiterConfig ( string $name )
Get waiter configuration data, taking __default__ and extensions into account
Methods detail
Parameters
- $config
array
$config Array of configuration directives- $inflector
Guzzle\Inflection\InflectorInterface
$inflector Inflector used to resolve class names
Create a waiter by name
Parameters
- $waiter
string
$waiter Name of the waiter to create
Returns
Implementation of
Check if the factory can create a waiter by a specific name
Parameters
- $waiter
string
$waiter Name of the waiter to check
Returns
boolean
Implementation of
Get waiter configuration data, taking __default__ and extensions into account
Parameters
- $name
string
$name Waiter name
Returns
Throws
Magic methods summary
Properties summary
protected
array
|
$config |
#
Configuration directives |
protected
|
$inflector |
#
Inflector used to inflect class names |