Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 129-136 (lines=8) @@
126
     *
127
     * @return EntryMapperInterface
128
     */
129
    public function getEntryMapper()
130
    {
131
        if (null === $this->entryMapper) {
132
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
133
        }
134
135
        return $this->entryMapper;
136
    }
137
138
    /**
139
     * setEntryMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1653-1660 (lines=8) @@
1650
     *
1651
     * @return EntryMapperInterface
1652
     */
1653
    public function getEntryMapper()
1654
    {
1655
        if (null === $this->entryMapper) {
1656
            $this->entryMapper = $this->getServiceManager()->get('playgroundgame_entry_mapper');
1657
        }
1658
1659
        return $this->entryMapper;
1660
    }
1661
1662
    /**
1663
     * setEntryMapper