Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 114-121 (lines=8) @@
111
     *
112
     * @return GameMapperInterface
113
     */
114
    public function getGameMapper()
115
    {
116
        if (null === $this->gameMapper) {
117
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
118
        }
119
120
        return $this->gameMapper;
121
    }
122
123
    /**
124
     * setGameMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1701-1708 (lines=8) @@
1698
     *
1699
     * @return GameMapperInterface
1700
     */
1701
    public function getGameMapper()
1702
    {
1703
        if (null === $this->gameMapper) {
1704
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1705
        }
1706
1707
        return $this->gameMapper;
1708
    }
1709
1710
    /**
1711
     * setGameMapper