TerminateEvent::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
/*
4
 * This file is part of Biurad opensource projects.
5
 *
6
 * @copyright 2019 Biurad Group (https://biurad.com/)
7
 * @license   https://opensource.org/licenses/BSD-3-Clause License
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Flange\Event;
14
15
use Flange\Application;
16
use Psr\Http\Message\ServerRequestInterface as Request;
17
18
/**
19
 * Allows to execute logic after a response was sent.
20
 *
21
 * @author Divine Niiquaye Ibok <[email protected]>
22
 */
23
final class TerminateEvent extends KernelEvent
24
{
25
    public function __construct(Application $kernel, Request $request)
26
    {
27
        parent::__construct($kernel, $request);
28
    }
29
}
30