Code Duplication    Length = 8-8 lines in 2 locations

module/Admin/src/Admin/Controller/AclController.php 1 location

@@ 870-877 (lines=8) @@
867
     * retrieve role item table
868
     * @return array|\Admin\Model\AclroleTable
869
     */
870
    public function getAclroleTable()
871
    {
872
        if (!$this->AclroleTable) {
873
            $sm = $this->getServiceLocator();
874
            $this->AclroleTable = $sm->get('AdminAclroleTable');
875
        }
876
        return $this->AclroleTable;
877
    }
878
879
    /**
880
     * retrieve resource item table

module/Admin/src/Admin/Controller/UsersController.php 1 location

@@ 384-391 (lines=8) @@
381
     * retrieve role item table
382
     * @return array|\Admin\Model\AclroleTable
383
     */
384
    public function getAclroleTable()
385
    {
386
        if (!$this->AclroleTable) {
387
            $sm = $this->getServiceLocator();
388
            $this->AclroleTable = $sm->get('AdminAclroleTable');
389
        }
390
        return $this->AclroleTable;
391
    }
392
393
}
394