Passed
Push — master ( 08dd0c...2460e1 )
by Koldo
02:21
created

AbstractAction::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
namespace InFw\TacticianAdapter\Action;
4
5
use Interop\Http\ServerMiddleware\MiddlewareInterface as ServerMiddlewareInterface;
6
use League\Tactician\CommandBus;
7
8
abstract class AbstractAction implements ServerMiddlewareInterface
9
{
10
    protected $bus;
11
12
    public function __construct(CommandBus $commandBus)
13
    {
14
        $this->bus = $commandBus;
15
    }
16
}
17