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

@@ 1406-1413 (lines=8) @@
1403
     *
1404
     * @return GameMapperInterface
1405
     */
1406
    public function getGameMapper()
1407
    {
1408
        if (null === $this->gameMapper) {
1409
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1410
        }
1411
1412
        return $this->gameMapper;
1413
    }
1414
1415
    /**
1416
     * setGameMapper