Command   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 3
Bugs 0 Features 1
Metric Value
wmc 1
c 3
b 0
f 1
lcom 0
cbo 1
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 4 1
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