Passed
Push — master ( 0057b2...3e8fcf )
by Marek
02:11
created

ExistingTicketsIndexServiceFactory::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 6
nc 1
nop 3
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace AppBuilder\Application\Module\ExistingTicketsIndex\Factory;
6
7
use AppBuilder\Application\Configuration\ValueObject\Parameters;
8
use AppBuilder\Application\Module\ExistingTicketsIndex\ExistingTicketsIndexService;
9
use Psr\Log\LoggerInterface;
10
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
11
12
class ExistingTicketsIndexServiceFactory
13
{
14
    public function create(
15
        Parameters $applicationParams,
16
        EventDispatcherInterface $dispatcher,
17
        LoggerInterface $logger
18
    ) : ExistingTicketsIndexService {
19
        return new ExistingTicketsIndexService($applicationParams, $dispatcher, $logger);
20
    }
21
}
22