1 | <?php namespace Arcanedev\Sanitizer; |
||
11 | class SanitizerServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | /* ------------------------------------------------------------------------------------------------ |
||
14 | | Properties |
||
15 | | ------------------------------------------------------------------------------------------------ |
||
16 | */ |
||
17 | /** |
||
18 | * Package name. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $package = 'sanitizer'; |
||
23 | |||
24 | /* ------------------------------------------------------------------------------------------------ |
||
25 | | Getters & Setters |
||
26 | | ------------------------------------------------------------------------------------------------ |
||
27 | */ |
||
28 | /** |
||
29 | * Get the base path of the package. |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | 99 | public function getBasePath() |
|
37 | |||
38 | /* ------------------------------------------------------------------------------------------------ |
||
39 | | Main Functions |
||
40 | | ------------------------------------------------------------------------------------------------ |
||
41 | */ |
||
42 | /** |
||
43 | * Register the service provider. |
||
44 | */ |
||
45 | 99 | public function register() |
|
50 | |||
51 | /** |
||
52 | * Bootstrap the application events. |
||
53 | */ |
||
54 | 99 | public function boot() |
|
60 | |||
61 | /** |
||
62 | * Get the services provided by the provider. |
||
63 | * |
||
64 | * @return array |
||
65 | */ |
||
66 | 9 | public function provides() |
|
73 | |||
74 | /* ------------------------------------------------------------------------------------------------ |
||
75 | | Other functions |
||
76 | | ------------------------------------------------------------------------------------------------ |
||
77 | */ |
||
78 | /** |
||
79 | * Register Helpers. |
||
80 | */ |
||
81 | private function registerSanitizer() |
||
92 | } |
||
93 |