Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/MissionGame.php 1 location

@@ 277-284 (lines=8) @@
274
    *
275
    * @return Mapper/GameMapper $gameMapper
276
    */
277
    public function getGameMapper()
278
    {
279
        if (null === $this->gameMapper) {
280
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
281
        }
282
283
        return $this->gameMapper;
284
    }
285
}
286

src/PlaygroundGame/Service/Game.php 1 location

@@ 1513-1520 (lines=8) @@
1510
     *
1511
     * @return GameMapperInterface
1512
     */
1513
    public function getGameMapper()
1514
    {
1515
        if (null === $this->gameMapper) {
1516
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1517
        }
1518
1519
        return $this->gameMapper;
1520
    }
1521
1522
    /**
1523
     * setGameMapper