We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15465df commit 12e04feCopy full SHA for 12e04fe
logging/monolog_console.rst
@@ -45,11 +45,8 @@ The example above could then be rewritten as::
45
46
class YourCommand extends Command
47
{
48
- private $logger;
49
-
50
- public function __construct(LoggerInterface $logger)
+ public function __construct(private LoggerInterface $logger)
51
52
- $this->logger = $logger;
53
}
54
55
protected function execute(InputInterface $input, OutputInterface $output)
0 commit comments