Completed
Push — master ( 0b4c0a...f06a3d )
by Adam
14:19
created

QueuedCommand::command()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Equip\Queue;
4
5
final class QueuedCommand
6
{
7
    /**
8
     * @var object
9
     */
10
    private $command;
11
12
    /**
13
     * @param object $command
14
     */
15 3
    public function __construct($command)
16
    {
17 3
        $this->command = $command;
18 3
    }
19
20
    /**
21
     * @return object
22
     */
23 2
    public function command()
24
    {
25 2
        return $this->command;
26
    }
27
}
28