AppointmentPlaceholderService.php
1 year ago
AppointmentsPlaceholderService.php
1 year ago
BasicPackagePlaceholderService.php
2 years ago
EventPlaceholderService.php
1 year ago
PlaceholderService.php
1 year ago
PlaceholderServiceInterface.php
1 year ago
BasicPackagePlaceholderService.php
64 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @copyright © TMS-Plugins. All rights reserved. |
| 4 | * @licence See LICENCE.md for license details. |
| 5 | */ |
| 6 | |
| 7 | namespace AmeliaBooking\Application\Services\Placeholder; |
| 8 | |
| 9 | use AmeliaBooking\Domain\Entity\User\AbstractUser; |
| 10 | use Exception; |
| 11 | use Interop\Container\Exception\ContainerException; |
| 12 | use Slim\Exception\ContainerValueNotFoundException; |
| 13 | |
| 14 | /** |
| 15 | * Class BasicPackagePlaceholderService |
| 16 | * |
| 17 | * @package AmeliaBooking\Application\Services\Placeholder |
| 18 | */ |
| 19 | class BasicPackagePlaceholderService extends AppointmentPlaceholderService |
| 20 | { |
| 21 | /** |
| 22 | * @return array |
| 23 | * |
| 24 | * @throws ContainerException |
| 25 | */ |
| 26 | public function getEntityPlaceholdersDummyData($type) |
| 27 | { |
| 28 | return []; |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * @param array $package |
| 33 | * @param int $bookingKey |
| 34 | * @param string $type |
| 35 | * @param AbstractUser $customer |
| 36 | * |
| 37 | * @return array |
| 38 | * |
| 39 | * @throws ContainerValueNotFoundException |
| 40 | * @throws ContainerException |
| 41 | * @throws Exception |
| 42 | */ |
| 43 | public function getPlaceholdersData($package, $bookingKey = null, $type = null, $customer = null, $allBookings = null) |
| 44 | { |
| 45 | return []; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * @param array $entity |
| 50 | * |
| 51 | * @param string $subject |
| 52 | * @param string $body |
| 53 | * @param int $userId |
| 54 | * @return array |
| 55 | */ |
| 56 | public function reParseContentForProvider($entity, $subject, $body, $userId) |
| 57 | { |
| 58 | return [ |
| 59 | 'body' => '', |
| 60 | 'subject' => '', |
| 61 | ]; |
| 62 | } |
| 63 | } |
| 64 |