| 1 | <?php |
||
| 22 | class PurchaseProcessorsServiceProvider implements ServiceProviderInterface |
||
| 23 | { |
||
| 24 | public function register(Container $app) |
||
| 25 | { |
||
| 26 | $app->extend( |
||
| 27 | 'eccube.purchase.flow.cart.item_processors', |
||
| 28 | function (ArrayCollection $processors, Container $app) { |
||
| 29 | $processors[] = new EmptyProcessor(); |
||
| 30 | $processors[] = new ValidatableEmptyProcessor(); |
||
| 31 | |||
| 32 | return $processors; |
||
| 33 | } |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |