Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Prize.php 1 location

@@ 109-116 (lines=8) @@
106
     *
107
     * @return PrizeMapper
108
     */
109
    public function getPrizeMapper()
110
    {
111
        if (null === $this->prizeMapper) {
112
            $this->prizeMapper = $this->serviceLocator->get('playgroundgame_prize_mapper');
113
        }
114
115
        return $this->prizeMapper;
116
    }
117
118
    /**
119
     * setPrizeMapper

src/PlaygroundGame/Service/InstantWin.php 1 location

@@ 600-607 (lines=8) @@
597
     *
598
     * @return PrizeMapperInterface
599
     */
600
    public function getPrizeMapper()
601
    {
602
        if (null === $this->prizeMapper) {
603
            $this->prizeMapper = $this->serviceLocator->get('playgroundgame_prize_mapper');
604
        }
605
606
        return $this->prizeMapper;
607
    }
608
609
    /**
610
     * setInstantWinOccurrenceMapper