AbstractCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 14
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Jackal\ImageMerge\Command;
4
5
use Jackal\ImageMerge\Command\Options\CommandOptionInterface;
6
7
/**
8
 * Class AbstractCommand
9
 * @package Jackal\ImageMerge\Command
10
 */
11
abstract class AbstractCommand implements CommandInterface
12
{
13
    /**
14
     * @var CommandOptionInterface
15
     */
16
    protected $options;
17
18
    /**
19
     * AbstractCommand constructor.
20
     * @param CommandOptionInterface|null $options
21
     */
22
    public function __construct(CommandOptionInterface $options = null)
23
    {
24
        $this->options = $options;
25
    }
26
}
27