Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Prize.php 1 location

@@ 98-105 (lines=8) @@
95
     *
96
     * @return PrizeMapper
97
     */
98
    public function getPrizeMapper()
99
    {
100
        if (null === $this->prizeMapper) {
101
            $this->prizeMapper = $this->getServiceManager()->get('playgroundgame_prize_mapper');
102
        }
103
104
        return $this->prizeMapper;
105
    }
106
107
    /**
108
     * setPrizeMapper

src/PlaygroundGame/Service/InstantWin.php 1 location

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