1 | <?php |
||
4 | class AddFieldOperation implements OperationInterface |
||
5 | { |
||
6 | /** |
||
7 | * @var |
||
8 | */ |
||
9 | private $fieldName; |
||
10 | /** |
||
11 | * @var callable |
||
12 | */ |
||
13 | private $fn; |
||
14 | |||
15 | 1 | public function __construct($fieldName, callable $fn) |
|
20 | |||
21 | /** |
||
22 | * @return string |
||
23 | */ |
||
24 | 1 | public function getFieldName() |
|
28 | |||
29 | /** |
||
30 | * @return callable |
||
31 | */ |
||
32 | 1 | public function getCallable() |
|
36 | } |
||
37 |