| Total Complexity | 2 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 8 | class PermissionController extends Controller  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @var PermissionRepository  | 
            ||
| 12 | */  | 
            ||
| 13 | private $permRepo;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * PermissionController constructor.  | 
            ||
| 17 | *  | 
            ||
| 18 | * @param PermissionRepository $permissionRepository  | 
            ||
| 19 | */  | 
            ||
| 20 | public function __construct(PermissionRepository $permissionRepository)  | 
            ||
| 21 |     { | 
            ||
| 22 | $this->permRepo = $permissionRepository;  | 
            ||
| 23 | }  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View  | 
            ||
| 27 | */  | 
            ||
| 28 | public function index()  | 
            ||
| 35 | }  | 
            ||
| 36 | }  | 
            ||
| 37 |