Test Failed
Push — master ( a29797...6ce97f )
by huang
06:37
created

AbstractProcessor   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
ccs 0
cts 3
cp 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A configure() 0 4 1
1
<?php
2
/**
3
 * @author    jan huang <[email protected]>
4
 * @copyright 2017
5
 *
6
 * @see      https://www.github.com/janhuang
7
 * @see      https://fastdlabs.com
8
 */
9
10
namespace FastD\Process;
11
12
use Symfony\Component\Console\Command\Command;
13
use Symfony\Component\Console\Input\InputOption;
14
15
/**
16
 * Class AbstractProcessor.
17
 */
18
abstract class AbstractProcessor extends Command
19
{
20
    protected function configure()
21
    {
22
        $this->addOption('daemon', '-d', InputOption::VALUE_NONE, 'Daemonize process.');
23
    }
24
}
25