| 1 |
<?php |
| 2 |
|
| 3 |
namespace Booktics\Appointment; |
| 4 |
|
| 5 |
use Booktics\Appointment\Controllers\Appointment_Controller; |
| 6 |
use Booktics\Providers\Base_Service_Provider; |
| 7 |
|
| 8 |
/** |
| 9 |
* Appointment_Service_Provider will responsible for all appointment services |
| 10 |
* |
| 11 |
* @package Booktics/Appointment |
| 12 |
*/ |
| 13 |
class Appointment_Service_Provider extends Base_Service_Provider { |
| 14 |
/** |
| 15 |
* Store services |
| 16 |
* |
| 17 |
* @var array |
| 18 |
*/ |
| 19 |
protected $services = [ |
| 20 |
Appointment_Controller::class |
| 21 |
]; |
| 22 |
|
| 23 |
/** |
| 24 |
* Register services |
| 25 |
* |
| 26 |
* @return void |
| 27 |
*/ |
| 28 |
public function get_services() { |
| 29 |
return apply_filters( 'booktics_appointment_services', $this->services ); |
| 30 |
} |
| 31 |
} |
| 32 |
|
| 33 |
|