1 | <?php |
||
22 | class Modifier implements ChargeModifier |
||
23 | { |
||
24 | /** |
||
25 | * @var AddonInterface[] |
||
26 | */ |
||
27 | protected $addons; |
||
28 | |||
29 | 4 | public function __construct(array $addons = []) |
|
33 | |||
34 | public function modifyCharge(ChargeInterface $charge, ActionInterface $action): array |
||
38 | |||
39 | public function reason($text) |
||
43 | |||
44 | public function since($time) |
||
48 | |||
49 | public function till($time) |
||
53 | |||
54 | public function addAddon($name, $addon) |
||
63 | } |
||
64 |