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 ) -
publicbuild ( string $waiter )Create a waiter by name
-
publiccanBuild ( string $waiter )Check if the factory can create a waiter by a specific name
-
protectedgetWaiterConfig ( 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
booleanImplementation 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 |