1 | <?php |
||
34 | class ApaiIO |
||
35 | { |
||
36 | const VERSION = "2.0.0-DEV"; |
||
37 | |||
38 | /** |
||
39 | * Configuration. |
||
40 | * |
||
41 | * @var ConfigurationInterface |
||
42 | */ |
||
43 | protected $configuration; |
||
44 | |||
45 | /** |
||
46 | * @param ConfigurationInterface $configuration |
||
47 | */ |
||
48 | 2 | public function __construct(ConfigurationInterface $configuration) |
|
52 | |||
53 | /** |
||
54 | * Runs the given operation. |
||
55 | * |
||
56 | * @param OperationInterface $operation The operationobject |
||
57 | * |
||
58 | * @return mixed |
||
59 | */ |
||
60 | 2 | public function runOperation(OperationInterface $operation) |
|
68 | |||
69 | /** |
||
70 | * Applies a responsetransformer. |
||
71 | * |
||
72 | * @param mixed $response The response of the request |
||
73 | * |
||
74 | * @return mixed |
||
75 | */ |
||
76 | 2 | protected function applyResponseTransformer($response) |
|
84 | } |
||
85 |