Completed
Push — master ( 68693d...b79797 )
by Adam
12:25
created

RequireCommand::getCommandArguments()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 7
nc 1
nop 1
1
<?php
2
/*
3
 * WellCommerce Open-Source E-Commerce Platform
4
 *
5
 * This file is part of the WellCommerce package.
6
 *
7
 * (c) Adam Piotrowski <[email protected]>
8
 *
9
 * For the full copyright and license information,
10
 * please view the LICENSE file that was distributed with this source code.
11
 */
12
13
namespace WellCommerce\Bundle\AppBundle\Command\Package;
14
15
use WellCommerce\Bundle\CoreBundle\Helper\Package\PackageHelperInterface;
16
17
/**
18
 * Class RequireCommand
19
 *
20
 * @author  Adam Piotrowski <[email protected]>
21
 */
22
class RequireCommand extends AbstractPackageCommand
23
{
24
    protected $composerOperation = PackageHelperInterface::ACTION_REQUIRE;
25
    
26
    protected function configure()
27
    {
28
        parent::configure();
29
        $this->setDescription('Install WellCommerce package');
30
        $this->setName('wellcommerce:package:require');
31
    }
32
}
33
34