Code Duplication    Length = 8-8 lines in 2 locations

src/Service/Prize.php 1 location

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

src/Service/InstantWin.php 1 location

@@ 743-750 (lines=8) @@
740
     *
741
     * @return PrizeMapperInterface
742
     */
743
    public function getPrizeMapper()
744
    {
745
        if (null === $this->prizeMapper) {
746
            $this->prizeMapper = $this->serviceLocator->get('playgroundgame_prize_mapper');
747
        }
748
749
        return $this->prizeMapper;
750
    }
751
752
    /**
753
     * setInstantWinOccurrenceMapper