AbstractManagerCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 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