MigrationsDiffDoctrineCommand::configure()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Rey\BitrixMigrations\Command;
4
5
use Symfony\Component\Console\Input\InputInterface;
6
use Symfony\Component\Console\Output\OutputInterface;
7
use Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand;
8
9
class MigrationsDiffDoctrineCommand extends DiffCommand
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14
    protected function configure()
15
    {
16
        parent::configure();
17
        $this->setName('bitrix:' . $this->getName());
18
    }
19
}
20