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

@@ 1727-1734 (lines=8) @@
1724
     *
1725
     * @return GameMapperInterface
1726
     */
1727
    public function getGameMapper()
1728
    {
1729
        if (null === $this->gameMapper) {
1730
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1731
        }
1732
1733
        return $this->gameMapper;
1734
    }
1735
1736
    /**
1737
     * setGameMapper