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