Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/InstantWin.php 1 location

@@ 640-647 (lines=8) @@
637
     *
638
     * @return PrizeMapperInterface
639
     */
640
    public function getPrizeMapper()
641
    {
642
        if (null === $this->prizeMapper) {
643
            $this->prizeMapper = $this->serviceLocator->get('playgroundgame_prize_mapper');
644
        }
645
646
        return $this->prizeMapper;
647
    }
648
649
    /**
650
     * setInstantWinOccurrenceMapper

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