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

@@ 1481-1488 (lines=8) @@
1478
     *
1479
     * @return GameMapperInterface
1480
     */
1481
    public function getGameMapper()
1482
    {
1483
        if (null === $this->gameMapper) {
1484
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1485
        }
1486
1487
        return $this->gameMapper;
1488
    }
1489
1490
    /**
1491
     * setGameMapper