Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 114-121 (lines=8) @@
111
     *
112
     * @return GameMapperInterface
113
     */
114
    public function getGameMapper()
115
    {
116
        if (null === $this->gameMapper) {
117
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
118
        }
119
120
        return $this->gameMapper;
121
    }
122
123
    /**
124
     * setGameMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1742-1749 (lines=8) @@
1739
     *
1740
     * @return GameMapperInterface
1741
     */
1742
    public function getGameMapper()
1743
    {
1744
        if (null === $this->gameMapper) {
1745
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1746
        }
1747
1748
        return $this->gameMapper;
1749
    }
1750
1751
    /**
1752
     * setGameMapper