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

@@ 1418-1425 (lines=8) @@
1415
     *
1416
     * @return GameMapperInterface
1417
     */
1418
    public function getGameMapper()
1419
    {
1420
        if (null === $this->gameMapper) {
1421
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1422
        }
1423
1424
        return $this->gameMapper;
1425
    }
1426
1427
    /**
1428
     * setGameMapper