PHP Class ApaiIO\ApaiIO

http://www.amazon.com
See also: https://github.com/Exeu/apai-io/wiki Wiki
See also: https://github.com/Exeu/apai-io Source
Author: Jan Eichhorn ([email protected])
Show file Open project: exeu/apai-io Class Usage Examples

Protected Properties

Property Type Description
$configuration ApaiIO\Configuration\ConfigurationInterface Configuration.

Public Methods

Method Description
__construct ( ApaiIO\Configuration\ConfigurationInterface $configuration )
runOperation ( ApaiIO\Operations\OperationInterface $operation ) : mixed Runs the given operation.

Protected Methods

Method Description
applyResponseTransformer ( mixed $response ) : mixed Applies a responsetransformer.

Method Details

__construct() public method

public __construct ( ApaiIO\Configuration\ConfigurationInterface $configuration )
$configuration ApaiIO\Configuration\ConfigurationInterface

applyResponseTransformer() protected method

Applies a responsetransformer.
protected applyResponseTransformer ( mixed $response ) : mixed
$response mixed The response of the request
return mixed

runOperation() public method

Runs the given operation.
public runOperation ( ApaiIO\Operations\OperationInterface $operation ) : mixed
$operation ApaiIO\Operations\OperationInterface The operationobject
return mixed

Property Details

$configuration protected property

Configuration.
protected ConfigurationInterface,ApaiIO\Configuration $configuration
return ApaiIO\Configuration\ConfigurationInterface