Code Duplication    Length = 9-13 lines in 2 locations

src/BCRM/PrintBundle/Controller/PrintingController.php 1 location

@@ 29-37 (lines=9) @@
26
 */
27
class PrintingController
28
{
29
    public function __construct(EventRepository $eventRepo, RegistrationRepository $registrationRepo, TicketRepository $ticketRepo, CommandBus $commandBus, RouterInterface $router, $schemeAndHost)
30
    {
31
        $this->eventRepo        = $eventRepo;
32
        $this->ticketRepo       = $ticketRepo;
33
        $this->registrationRepo = $registrationRepo;
34
        $this->commandBus       = $commandBus;
35
        $this->router           = $router;
36
        $this->schemeAndHost    = trim($schemeAndHost, '/ ');
37
    }
38
39
    /**
40
     * List unprinted tickets.

src/BCRM/WebBundle/Controller/ConciergeController.php 1 location

@@ 42-54 (lines=13) @@
39
 */
40
class ConciergeController
41
{
42
    public function __construct(
43
        EventRepository $eventRepo,
44
        TicketRepository $ticketRepo,
45
        CommandBus $commandBus,
46
        FormFactoryInterface $formFactory,
47
        RouterInterface $router)
48
    {
49
        $this->eventRepo   = $eventRepo;
50
        $this->ticketRepo  = $ticketRepo;
51
        $this->commandBus  = $commandBus;
52
        $this->formFactory = $formFactory;
53
        $this->router      = $router;
54
    }
55
56
    /**
57
     * Dashboard index