1 | <?php namespace Arcanesoft\Auth\Providers; |
||
12 | class ValidatorServiceProvider extends ServiceProvider |
||
13 | { |
||
14 | /* ----------------------------------------------------------------- |
||
15 | | Main Methods |
||
16 | | ----------------------------------------------------------------- |
||
17 | */ |
||
18 | |||
19 | /** |
||
20 | * Register the service provider. |
||
21 | */ |
||
22 | 12 | public function register() |
|
26 | |||
27 | /** |
||
28 | * Boot the service provider. |
||
29 | */ |
||
30 | 12 | public function boot() |
|
34 | |||
35 | /* ----------------------------------------------------------------- |
||
36 | | Validators |
||
37 | | ----------------------------------------------------------------- |
||
38 | */ |
||
39 | |||
40 | /** |
||
41 | * Register the user validators. |
||
42 | */ |
||
43 | 12 | private function registerUserValidators() |
|
55 | |||
56 | /* ----------------------------------------------------------------- |
||
57 | | Other Methods |
||
58 | | ----------------------------------------------------------------- |
||
59 | */ |
||
60 | |||
61 | /** |
||
62 | * Get the validator instance. |
||
63 | * |
||
64 | * @return \Illuminate\Validation\Factory |
||
65 | */ |
||
66 | 12 | private function validator() |
|
70 | |||
71 | /** |
||
72 | * Extend validator. |
||
73 | * |
||
74 | * @param string $name |
||
75 | * @param string $class |
||
76 | * @param \Closure|null $replacer |
||
77 | */ |
||
78 | 12 | private function extendValidator($name, $class, Closure $replacer = null) |
|
85 | } |
||
86 |