StarterTaxApplicationService.php
60 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Application\Services\Tax; |
| 4 | |
| 5 | use AmeliaBooking\Domain\Collection\Collection; |
| 6 | use AmeliaBooking\Domain\Entity\Tax\Tax; |
| 7 | use Slim\Exception\ContainerValueNotFoundException; |
| 8 | |
| 9 | /** |
| 10 | * Class StarterTaxApplicationService |
| 11 | * |
| 12 | * @package AmeliaBooking\Application\Services\Tax |
| 13 | */ |
| 14 | class StarterTaxApplicationService extends AbstractTaxApplicationService |
| 15 | { |
| 16 | /** |
| 17 | * @param Tax $tax |
| 18 | * |
| 19 | * @return boolean |
| 20 | * |
| 21 | * @throws ContainerValueNotFoundException |
| 22 | */ |
| 23 | public function add($tax) |
| 24 | { |
| 25 | return true; |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * @param Tax $tax |
| 30 | * |
| 31 | * @return boolean |
| 32 | * |
| 33 | * @throws ContainerValueNotFoundException |
| 34 | */ |
| 35 | public function update($tax) |
| 36 | { |
| 37 | return true; |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * @param Tax $tax |
| 42 | * |
| 43 | * @return boolean |
| 44 | * |
| 45 | * @throws ContainerValueNotFoundException |
| 46 | */ |
| 47 | public function delete($tax) |
| 48 | { |
| 49 | return true; |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * @return Collection |
| 54 | */ |
| 55 | public function getAll() |
| 56 | { |
| 57 | return new Collection(); |
| 58 | } |
| 59 | } |
| 60 |