AuthenticationController::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
declare(strict_types=1);
3
4
5
namespace Selami\Authentication\Controller\Authentication;
6
7
use Selami\Authentication\Controller\Application;
8
use Psr\Http\Message\ServerRequestInterface;
9
use Symfony\Component\HttpFoundation\Session\Session;
10
11
abstract class AuthenticationController extends Application
12
{
13
14
    public function __construct(ServerRequestInterface $request, Session $session, ?array $args)
15
    {
16
        $this->session = $session;
17
        $this->request = $request;
18
        $this->args = $args;
19
    }
20
}
21