| 1 | <?php namespace Bedard\Shop\Drivers; |
||
| 7 | class NoShippingDriver implements ShippingDriverInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Return details about this driver. |
||
| 11 | * |
||
| 12 | * @return array |
||
| 13 | */ |
||
| 14 | public function driverDetails() |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Calculate the shipping for a cart. |
||
| 23 | * |
||
| 24 | * @param Cart $cart |
||
| 25 | * @return float |
||
| 26 | */ |
||
| 27 | public function calculate(Cart $cart) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Return the form fields for this driver. |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function getFormFields() |
||
| 42 | } |
||
| 43 |