1 | <?php |
||
25 | abstract class AbstractOperation implements OperationInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var array |
||
29 | */ |
||
30 | protected $parameters = []; |
||
31 | |||
32 | /** |
||
33 | * Returns an array of responseGroups |
||
34 | * |
||
35 | * @return array |
||
36 | */ |
||
37 | 1 | public function getResponseGroup() |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 1 | public function setResponseGroup(array $responseGroup) |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 11 | public function getOperationParameter() |
|
59 | |||
60 | /** |
||
61 | * Returns a single operation parameter if set |
||
62 | * |
||
63 | * @param string $keyName |
||
64 | * |
||
65 | * @return mixed|null |
||
66 | */ |
||
67 | 29 | public function getSingleOperationParameter($keyName) |
|
71 | |||
72 | /** |
||
73 | * Magic setter and getter functions |
||
74 | * |
||
75 | * @param string $method Methodname |
||
76 | * @param string $parameter Parameters |
||
77 | * |
||
78 | * @return \ApaiIO\Operations\AbstractOperation |
||
79 | */ |
||
80 | 5 | public function __call($method, $parameter) |
|
96 | } |
||
97 |