Completed
Push — 7.5 ( 70cc97...2f9a1f )
by Łukasz
21:35
created

ConsoleInitEvent::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
5
 * @license For full copyright and license information view LICENSE file distributed with this source code.
6
 */
7
namespace eZ\Publish\Core\MVC\Symfony\Event;
8
9
use Symfony\Component\Console\Event\ConsoleEvent;
10
use Symfony\Component\Console\Input\InputInterface;
11
use Symfony\Component\Console\Output\OutputInterface;
12
13
/**
14
 * Allows to do things before the command is loaded, like configuring system based on input.
15
 */
16
class ConsoleInitEvent extends ConsoleEvent
17
{
18
    public function __construct(InputInterface $input, OutputInterface $output)
19
    {
20
        parent::__construct(null, $input, $output);
21
    }
22
}
23