Command::__invoke()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
/**
3
 * @author stev leibelt <[email protected]>
4
 * @since 2014-12-11
5
 */
6
7
namespace Net\Bazzline\Component\Command;
8
9
/**
10
 * Class Command
11
 * @package Net\Bazzline\Component\Command
12
 */
13
class Command extends AbstractCommand
14
{
15
    /**
16
     * @param string $command
17
     * @param boolean $validateReturnValue
18
     * @return array
19
     * @throws RuntimeException
20
     */
21
    public function __invoke($command, $validateReturnValue = true)
22
    {
23
        return $this->execute($command, $validateReturnValue);
24
    }
25
}
26