1 | <?php namespace Arcanedev\NoCaptcha; |
||
11 | class NoCaptchaServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | /* ------------------------------------------------------------------------------------------------ |
||
14 | | Properties |
||
15 | | ------------------------------------------------------------------------------------------------ |
||
16 | */ |
||
17 | /** |
||
18 | * Package name. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $package = 'no-captcha'; |
||
23 | |||
24 | /* ------------------------------------------------------------------------------------------------ |
||
25 | | Main Functions |
||
26 | | ------------------------------------------------------------------------------------------------ |
||
27 | */ |
||
28 | /** |
||
29 | * Register the service provider. |
||
30 | */ |
||
31 | 21 | public function register() |
|
38 | |||
39 | /** |
||
40 | * Bootstrap the application events. |
||
41 | */ |
||
42 | 21 | public function boot() |
|
50 | |||
51 | /** |
||
52 | * Get the services provided by the provider. |
||
53 | * |
||
54 | * @return array |
||
55 | */ |
||
56 | 3 | public function provides() |
|
62 | |||
63 | /* ------------------------------------------------------------------------------------------------ |
||
64 | | Other Functions |
||
65 | | ------------------------------------------------------------------------------------------------ |
||
66 | */ |
||
67 | /** |
||
68 | * Register NoCaptcha service. |
||
69 | */ |
||
70 | 21 | private function registerNoCaptcha() |
|
84 | |||
85 | /** |
||
86 | * Register Validator rules. |
||
87 | * |
||
88 | * @param \Illuminate\Foundation\Application $app |
||
89 | */ |
||
90 | 21 | private function registerValidatorRules($app) |
|
99 | |||
100 | /** |
||
101 | * Register Form Macros. |
||
102 | * |
||
103 | * @param \Illuminate\Foundation\Application $app |
||
104 | */ |
||
105 | 21 | private function registerFormMacros($app) |
|
113 | } |
||
114 |