Completed
Push — master ( 48b451...90ac5a )
by Amine
47s queued 43s
created

VersionCommand::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 0
1
<?php namespace Tarsana\Command\Commands;
2
3
use Tarsana\Command\SubCommand;
4
5
class VersionCommand extends SubCommand {
6
7
    protected function execute()
8
    {
9
        $command = $this->parent();
10
        $this->console()->line("<info>{$command->name()}</info> version <info>{$command->version()}</info>");
11
    }
12
}
13