1 | <?php |
||
10 | class FileLoggerServiceProvider implements ServiceProviderInterface |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | public $logfile = "php://stderr"; |
||
17 | |||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | public $max_files = 30; |
||
22 | |||
23 | /** |
||
24 | * @var int |
||
25 | */ |
||
26 | public $loglevel = Logger::DEBUG; |
||
27 | |||
28 | |||
29 | /** |
||
30 | * @param string|null $logfile Logfile path |
||
31 | * @param int|null $max_files Maximum number of logfiles |
||
32 | * @param int|null $loglevel Monolog Loglevel constant |
||
33 | */ |
||
34 | 6 | public function __construct(string $logfile = null, int $max_files = null, int $loglevel = null) |
|
46 | |||
47 | |||
48 | /** |
||
49 | * @param Container $dic [description] |
||
50 | * @return void |
||
51 | */ |
||
52 | 4 | public function register(Container $dic) |
|
88 | } |
||
89 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.