Test Failed
Push — master ( d037e7...469b10 )
by Mehmet
02:00
created

ContentsController::factory()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 2
1
<?php
2
declare(strict_types=1);
3
4
5
namespace SelamiApp\Controller\Contents;
6
7
use SelamiApp\Controller\Application;
8
use Psr\Http\Message\ServerRequestInterface;
9
use Symfony\Component\HttpFoundation\Session\Session;
10
11
abstract class ContentsController 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
}
22