SampleCli::run()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 2
Metric Value
c 2
b 1
f 2
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * SampleCli
4
 *
5
 * RisolutoのCLIプログラムサンプル
6
 *
7
 * @package           risoluto
8
 * @author            Risoluto Developers
9
 * @license           http://opensource.org/licenses/bsd-license.php new BSD license
10
 * @copyright     (C) 2008-2015 Risoluto Developers / All Rights Reserved.
11
 */
12
13
//------------------------------------------------------//
14
// 名前空間の定義
15
//------------------------------------------------------//
16
namespace RisolutoCli;
17
18
//------------------------------------------------------//
19
// クラス定義
20
//------------------------------------------------------//
21
class SampleCli extends \Risoluto\RisolutoCliBase implements \Risoluto\RisolutoCliInterface
22
{
23
    /**
24
     * run()
25
     *
26
     * 主処理を行う
27
     *
28
     * @access    public
29
     *
30
     * @param     array $options オプション情報
31
     *
32
     * @return    void    なし
33
     */
34
    public function run( array $options )
35
    {
36
        var_dump( $options );
0 ignored issues
show
Security Debugging Code introduced by
var_dump($options); looks like debug code. Are you sure you do not want to remove it? This might expose sensitive data.
Loading history...
37
    }
38
}