1 | <?php namespace Understand\UnderstandLaravel5; |
||
5 | abstract class UnderstandServiceProvider extends ServiceProvider |
||
6 | { |
||
7 | /** |
||
8 | * Register config |
||
9 | * |
||
10 | * @return void |
||
11 | */ |
||
12 | protected function registerConfig() |
||
17 | |||
18 | /** |
||
19 | * Register token generator class |
||
20 | * |
||
21 | * @return void |
||
22 | */ |
||
23 | protected function registerTokenProvider() |
||
30 | |||
31 | /** |
||
32 | * Register data collector class |
||
33 | * |
||
34 | * @return void |
||
35 | */ |
||
36 | protected function registerDataCollector() |
||
43 | |||
44 | /** |
||
45 | * Register exception encoder |
||
46 | * |
||
47 | * @return void |
||
48 | */ |
||
49 | protected function registerExceptionEncoder() |
||
56 | |||
57 | /** |
||
58 | * Register exception and event logger |
||
59 | * |
||
60 | * @return void |
||
61 | */ |
||
62 | protected function registerEventLoggers() |
||
74 | |||
75 | /** |
||
76 | * Register understand logger |
||
77 | * |
||
78 | * @return void |
||
79 | */ |
||
80 | protected function registerLogger() |
||
90 | |||
91 | /** |
||
92 | * Return default handler |
||
93 | * |
||
94 | * @param type $app |
||
95 | * @return mixed |
||
96 | * @throws \ErrorException |
||
97 | */ |
||
98 | protected function resolveHandler($app) |
||
118 | |||
119 | /** |
||
120 | * @param $level |
||
121 | * @param $message |
||
122 | * @param $context |
||
123 | * @return bool |
||
124 | */ |
||
125 | protected function shouldIgnoreEvent($level, $message, $context) |
||
135 | |||
136 | /** |
||
137 | * Get the services provided by the provider. |
||
138 | * |
||
139 | * @return array |
||
140 | */ |
||
141 | public function provides() |
||
153 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.