Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 141-148 (lines=8) @@
138
     *
139
     * @return EntryMapperInterface
140
     */
141
    public function getEntryMapper()
142
    {
143
        if (null === $this->entryMapper) {
144
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
145
        }
146
147
        return $this->entryMapper;
148
    }
149
150
    /**
151
     * setEntryMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1779-1786 (lines=8) @@
1776
     *
1777
     * @return EntryMapperInterface
1778
     */
1779
    public function getEntryMapper()
1780
    {
1781
        if (null === $this->entryMapper) {
1782
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
1783
        }
1784
1785
        return $this->entryMapper;
1786
    }
1787
1788
    /**
1789
     * setEntryMapper