Completed
Push — master ( b015a1...0e1003 )
by Abdelrahman
49:45
created

AuthenticatedController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/*
4
 * NOTICE OF LICENSE
5
 *
6
 * Part of the Cortex Foundation Module.
7
 *
8
 * This source file is subject to The MIT License (MIT)
9
 * that is bundled with this package in the LICENSE file.
10
 *
11
 * Package: Cortex Foundation Module
12
 * License: The MIT License (MIT)
13
 * Link:    https://rinvex.com
14
 */
15
16
declare(strict_types=1);
17
18
namespace Cortex\Foundation\Http\Controllers;
19
20
class AuthenticatedController extends AbstractController
21
{
22
    /**
23
     * Create a new manage persistence controller instance.
24
     */
25
    public function __construct()
26
    {
27
        $this->middleware($this->getAuthMiddleware(), ['except' => $this->middlewareWhitelist]);
28
    }
29
}
30