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

@@ 1398-1405 (lines=8) @@
1395
     *
1396
     * @return GameMapperInterface
1397
     */
1398
    public function getGameMapper()
1399
    {
1400
        if (null === $this->gameMapper) {
1401
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1402
        }
1403
1404
        return $this->gameMapper;
1405
    }
1406
1407
    /**
1408
     * setGameMapper