| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 25 | class NullLoggerBuilder implements LoggerBuilderInterface |
||
| 26 | { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * This method MUST return a valid PSR3 logger |
||
| 30 | * @return \Psr\Log\LoggerInterface |
||
| 31 | */ |
||
| 32 | 6 | public function getLogger() : \Psr\Log\LoggerInterface |
|
| 33 | { |
||
| 34 | 6 | return new \Psr\Log\NullLogger; |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * This method MUST return the name of the main class |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | 3 | public function getMainCLassName() : string |
|
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * This method MUST return the name of the package name |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | 3 | public function getPackageName() : string |
|
| 53 | } |
||
| 54 | } |
||
| 55 |