Setup   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 17
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCommandClasses() 0 9 1
1
<?php
2
/**
3
 * Magedownload CLI
4
 *
5
 * PHP version 5
6
 *
7
 * @category  MageDownload
8
 * @package   MageDownload
9
 * @author    Steve Robbins <[email protected]>
10
 * @copyright 2015 Steve Robbins
11
 * @license   http://creativecommons.org/licenses/by/4.0/ CC BY 4.0
12
 * @link      https://github.com/steverobbins/magedownload-cli
13
 */
14
15
namespace MageDownload\Command;
16
17
/**
18
 * Setup commands
19
 *
20
 * @category  MageDownload
21
 * @package   MageDownload
22
 * @author    Steve Robbins <[email protected]>
23
 * @copyright 2015 Steve Robbins
24
 * @license   http://creativecommons.org/licenses/by/4.0/ CC BY 4.0
25
 * @link      https://github.com/steverobbins/magedownload-cli
26
 */
27
class Setup
28
{
29
    /**
30
     * Get list of command classes
31
     *
32
     * @return string[]
33
     */
34
    public static function getCommandClasses()
35
    {
36
        return array(
37
            'MageDownload\Command\ConfigureCommand',
38
            'MageDownload\Command\DownloadCommand',
39
            'MageDownload\Command\FilesCommand',
40
            'MageDownload\Command\VersionsCommand',
41
        );
42
    }
43
}
44