1 | <?php |
||
7 | trait LoggerAware |
||
8 | { |
||
9 | private |
||
10 | $logger; |
||
11 | |||
12 | public function setLogger(LoggerInterface $logger) |
||
13 | { |
||
14 | $this->logger = $logger; |
||
15 | |||
16 | return $this; |
||
17 | } |
||
18 | |||
19 | private function error($message) |
||
23 | |||
24 | private function warning($message) |
||
28 | |||
29 | private function info($message) |
||
33 | |||
34 | private function debug($message) |
||
38 | } |
||
39 |