| 1 | <?php |
||
| 19 | class AdjustmentFactory implements AdjustmentFactoryInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var FactoryInterface |
||
| 23 | */ |
||
| 24 | private $adjustmentFactory; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param FactoryInterface $adjustmentFactory |
||
| 28 | */ |
||
| 29 | public function __construct(FactoryInterface $adjustmentFactory) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function createNew() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function createWithData($type, $label, $amount, $neutral) |
||
| 55 | } |
||
| 56 |