1 | <?php namespace Propaganistas\LaravelPhone; |
||
11 | class PhoneServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | /** |
||
14 | * Bootstrap the application events. |
||
15 | * |
||
16 | * @return void |
||
17 | */ |
||
18 | 129 | public function boot() |
|
24 | |||
25 | /** |
||
26 | * Register the service provider. |
||
27 | * |
||
28 | * @return void |
||
29 | */ |
||
30 | public function register() |
||
38 | |||
39 | /** |
||
40 | * Register the "phone" validator. |
||
41 | */ |
||
42 | 129 | protected function registerValidator() |
|
48 | |||
49 | /** |
||
50 | * Register the "phone" rule macro. |
||
51 | */ |
||
52 | 129 | protected function registerRule() |
|
60 | |||
61 | /** |
||
62 | * Determine whether we can register a dependent validator. |
||
63 | * |
||
64 | * @return bool |
||
65 | */ |
||
66 | 129 | public static function canUseDependentValidation() |
|
72 | } |
||
73 |