1 | <?php namespace Arcanesoft\Auth\Providers; |
||
13 | class ValidatorServiceProvider extends ServiceProvider |
||
14 | { |
||
15 | /* ----------------------------------------------------------------- |
||
16 | | Properties |
||
17 | | ----------------------------------------------------------------- |
||
18 | */ |
||
19 | /** |
||
20 | * The Validator instance. |
||
21 | * |
||
22 | * @var \Illuminate\Validation\Factory |
||
23 | */ |
||
24 | protected $validator; |
||
25 | |||
26 | /* ----------------------------------------------------------------- |
||
27 | | Constructor |
||
28 | | ----------------------------------------------------------------- |
||
29 | */ |
||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | 12 | public function __construct(Application $app) |
|
39 | |||
40 | /* ------------------------------------------------------------------------------------------------ |
||
41 | | Main Functions |
||
42 | | ------------------------------------------------------------------------------------------------ |
||
43 | */ |
||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function boot() |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function register() |
||
59 | |||
60 | /* ------------------------------------------------------------------------------------------------ |
||
61 | | Validators |
||
62 | | ------------------------------------------------------------------------------------------------ |
||
63 | */ |
||
64 | /** |
||
65 | * Register the user validators. |
||
66 | */ |
||
67 | private function registerUserValidators() |
||
79 | |||
80 | /* ------------------------------------------------------------------------------------------------ |
||
81 | | Other Functions |
||
82 | | ------------------------------------------------------------------------------------------------ |
||
83 | */ |
||
84 | /** |
||
85 | * Extend validator. |
||
86 | * |
||
87 | * @param string $name |
||
88 | * @param string $class |
||
89 | * @param \Closure|null $replacer |
||
90 | */ |
||
91 | private function extendValidator($name, $class, Closure $replacer = null) |
||
98 | } |
||
99 |