AbstractManagerCommand::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 10
cc 1
nc 1
nop 1
1
<?php
2
namespace Peridot\WebDriverManager\Console;
3
4
use Peridot\WebDriverManager\Manager;
5
use Symfony\Component\Console\Command\Command;
6
7
/**
8
 * AbstractManagerCommand represents a console command that is dependent
9
 * on a Manager class.
10
 *
11
 * @package Peridot\WebDriverManager\Console
12
 */
13
abstract class AbstractManagerCommand extends Command
14
{
15
    /**
16
     * @var Manager
17
     */
18
    protected $manager;
19
20
    /**
21
     * @param Manager $manager
22
     */
23
    public function __construct(Manager $manager)
24
    {
25
        parent::__construct(null);
26
        $this->manager = $manager;
27
    }
28
}
29