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

AuthenticatedController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
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