1 | <?php |
||
18 | class DumbPasswordServiceProvider extends ServiceProvider |
||
19 | { |
||
20 | /* |
||
21 | * Indicates if loading of the provider is deferred. |
||
22 | * |
||
23 | * @var bool |
||
24 | */ |
||
25 | protected $defer = false; |
||
26 | |||
27 | /** |
||
28 | * Default error message. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $message = 'This password is just too common. Please try another!'; |
||
33 | |||
34 | /** |
||
35 | * Publishes all the config file this package needs to function. |
||
36 | */ |
||
37 | public function boot() |
||
51 | |||
52 | /** |
||
53 | * Register the application services. |
||
54 | */ |
||
55 | public function register() |
||
59 | |||
60 | /** |
||
61 | * Get the services provided by the provider. |
||
62 | * |
||
63 | * @return array |
||
64 | */ |
||
65 | public function provides() |
||
69 | } |
||
70 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.