Controller   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 5
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __process() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Utilities\Router;
5
6
use Utilities\Router\Interfaces\ControllerInterface;
7
8
/**
9
 * Controller class
10
 *
11
 * @link    https://github.com/utilities-php/router
12
 * @author  Shahrad Elahi (https://github.com/shahradelahi)
13
 * @license https://github.com/utilities-php/router/blob/master/LICENSE (MIT License)
14
 */
15
abstract class Controller extends AnonymousController implements ControllerInterface
16
{
17
18
    public function __process(Request $request): void
19
    {
20
        // Simply implement this method is ignored.
21
    }
22
23
}