Test Failed
Push — master ( 2fa9b0...1565e2 )
by
unknown
01:50
created

ClassCommandHandlerMakerSubscriber   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 2
dl 0
loc 11
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A create() 0 2 1
A getSubscribedEvents() 0 3 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: thales
5
 * Date: 17/01/2019
6
 * Time: 20:18
7
 */
8
9
namespace Saci\Console\Infrastructure\Domain\Services;
10
11
12
use Saci\Console\Domain\Events\CommandWasCreated;
13
use Saci\Console\Domain\Services\ClassCommandHandlerMakerSubscriber as ClassCommandHandlerMakerSubscriberInterface;
14
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15
16
class ClassCommandHandlerMakerSubscriber implements ClassCommandHandlerMakerSubscriberInterface, EventSubscriberInterface
17
{
18
19
    public function create(CommandWasCreated $commandWasCreated)
20
    {
21
        // TODO: Implement create() method.
22
    }
23
24
    public static function getSubscribedEvents()
25
    {
26
        return [CommandWasCreated::NAME => 'create'];
27
    }
28
}