1 | <?php |
||
33 | 1 | final class Console implements Log\LoggerInterface |
|
34 | { |
||
35 | /** |
||
36 | * Implement nette smart magic |
||
37 | */ |
||
38 | 1 | use Nette\SmartObject; |
|
39 | |||
40 | /** |
||
41 | * @var Formatter\IFormatter |
||
42 | */ |
||
43 | private $formatter; |
||
44 | |||
45 | /** |
||
46 | * @param Formatter\IFormatter $formatter |
||
47 | * |
||
48 | * @return void |
||
49 | */ |
||
50 | public function setFormatter(Formatter\IFormatter $formatter) |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function emergency($message, array $context = []) |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function alert($message, array $context = []) |
||
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | public function critical($message, array $context = []) |
||
99 | |||
100 | /** |
||
101 | * {@inheritdoc} |
||
102 | */ |
||
103 | public function error($message, array $context = []) |
||
114 | |||
115 | /** |
||
116 | * {@inheritdoc} |
||
117 | */ |
||
118 | public function warning($message, array $context = []) |
||
129 | |||
130 | /** |
||
131 | * {@inheritdoc} |
||
132 | */ |
||
133 | public function notice($message, array $context = []) |
||
144 | |||
145 | /** |
||
146 | * {@inheritdoc} |
||
147 | */ |
||
148 | public function info($message, array $context = []) |
||
159 | |||
160 | /** |
||
161 | * {@inheritdoc} |
||
162 | */ |
||
163 | public function debug($message, array $context = []) |
||
174 | |||
175 | /** |
||
176 | * {@inheritdoc} |
||
177 | */ |
||
178 | public function log($level, $message, array $context = []) |
||
189 | |||
190 | /** |
||
191 | * @param string $message |
||
192 | */ |
||
193 | private function writeln(string $message) |
||
202 | } |
||
203 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.