1 | <?php |
||
17 | class DumbPasswordServiceProvider extends ServiceProvider |
||
18 | { |
||
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() |
||
46 | |||
47 | /** |
||
48 | * Register the application services. |
||
49 | */ |
||
50 | public function register() |
||
54 | |||
55 | /** |
||
56 | * Get the services provided by the provider |
||
57 | * @return array |
||
58 | */ |
||
59 | public function provides() |
||
63 | |||
64 | /** |
||
65 | * Generates a dictionary from the file referenced by the path specified |
||
66 | * |
||
67 | * @param $path |
||
68 | * |
||
69 | * @return array |
||
70 | */ |
||
71 | private function generateDictionary($path) |
||
86 | } |
||
87 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.