Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class Nocosts |
||
21 | extends \Aimeos\MShop\Service\Provider\Decorator\Base |
||
22 | implements \Aimeos\MShop\Service\Provider\Decorator\Iface |
||
23 | { |
||
24 | /** |
||
25 | * Returns the costs per item as negative value to get no costs at all. |
||
26 | * |
||
27 | * @param \Aimeos\MShop\Order\Item\Base\Iface $basket Basket object |
||
28 | * @return \Aimeos\MShop\Price\Item\Iface Price item containing the price, shipping, rebate |
||
29 | */ |
||
30 | public function calcPrice( \Aimeos\MShop\Order\Item\Base\Iface $basket ) : \Aimeos\MShop\Price\Item\Iface |
||
42 |