Passed
Push — develop ( 04f018...e920eb )
by BENARD
04:15
created

AbstractRankingHandler::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
dl 0
loc 2
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace VideoGamesRecords\CoreBundle\Handler\Ranking;
4
5
use Doctrine\ORM\EntityManagerInterface;
6
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
7
use VideoGamesRecords\CoreBundle\Contracts\Ranking\RankingCommandInterface;
8
9
abstract class AbstractRankingHandler implements RankingCommandInterface
10
{
11
    protected EntityManagerInterface $em;
12
    protected EventDispatcherInterface $eventDispatcher;
13
14
    public function __construct(EntityManagerInterface $em, EventDispatcherInterface $eventDispatcher)
15
    {
16
        $this->em = $em;
17
        $this->eventDispatcher = $eventDispatcher;
18
    }
19
20
    public function handle($mixed): void
21
    {
22
23
    }
24
}
25