Completed
Push — compat-sf4 ( d499cf...2c998b )
by Kevin
01:40
created

IndexCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Zenstruck\ElasticaBundle\Command;
4
5
use Symfony\Component\Console\Command\Command;
6
use Zenstruck\ElasticaBundle\Elastica\IndexManager;
7
8
/**
9
 * @author Kevin Bond <[email protected]>
10
 */
11
abstract class IndexCommand extends Command
12
{
13
    protected $indexManager;
14
15
    public function __construct(IndexManager $indexManager)
16
    {
17
        parent::__construct();
18
19
        $this->indexManager = $indexManager;
20
    }
21
}
22