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

@@ 621-628 (lines=8) @@
618
     *
619
     * @return PrizeMapperInterface
620
     */
621
    public function getPrizeMapper()
622
    {
623
        if (null === $this->prizeMapper) {
624
            $this->prizeMapper = $this->getServiceManager()->get('playgroundgame_prize_mapper');
625
        }
626
627
        return $this->prizeMapper;
628
    }
629
630
    /**
631
     * setInstantWinOccurrenceMapper