| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | trait RolesUsageAuthTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Variable to hold if we are using built in Laravel authentication. |
||
| 9 | */ |
||
| 10 | private $_rolesGuiAuthEnabled; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Variable to hold if we are using roles/permissoins middleware for access. |
||
| 14 | */ |
||
| 15 | private $_rolesGuiMiddlewareEnabled; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Variable to hold what roles/permissions middleware we are using if enabled. |
||
| 19 | */ |
||
| 20 | private $_rolesGuiMiddleware; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Create a new controller instance. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function __construct() |
||
| 42 |