Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Game.php 1 location

@@ 1517-1524 (lines=8) @@
1514
     *
1515
     * @return GameMapperInterface
1516
     */
1517
    public function getGameMapper()
1518
    {
1519
        if (null === $this->gameMapper) {
1520
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
1521
        }
1522
1523
        return $this->gameMapper;
1524
    }
1525
1526
    /**
1527
     * setGameMapper

src/PlaygroundGame/Service/MissionGame.php 1 location

@@ 287-294 (lines=8) @@
284
    *
285
    * @return Mapper/GameMapper $gameMapper
286
    */
287
    public function getGameMapper()
288
    {
289
        if (null === $this->gameMapper) {
290
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
291
        }
292
293
        return $this->gameMapper;
294
    }
295
}
296