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

AbstractAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 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