| 1 | <?php |
||
| 19 | class NullLoggerBuilder implements LoggerBuilderInterface |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param array $config |
||
| 24 | */ |
||
| 25 | 5 | public function __construct(array $config = []) |
|
|
|
|||
| 26 | { |
||
| 27 | // Ignore config as NullLogger does not accept any config |
||
| 28 | // Done for FeedIo\Factory compatibility |
||
| 29 | 5 | } |
|
| 30 | |||
| 31 | /** |
||
| 32 | * This method MUST return a valid PSR3 logger |
||
| 33 | * @return \Psr\Log\NullLogger |
||
| 34 | */ |
||
| 35 | 2 | public function getLogger() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * This method MUST return the name of the main class |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 1 | public function getMainClassName() |
|
| 48 | |||
| 49 | /** |
||
| 50 | * This method MUST return the name of the package name |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 1 | public function getPackageName() |
|
| 57 | } |
||
| 58 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.