ProcessFormatRequest::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 3
dl 0
loc 5
ccs 1
cts 1
cp 1
crap 1
rs 10
1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of FlexPHP.
4
 *
5
 * (c) Freddie Gar <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace FlexPHP\Generator\Domain\Messages\Requests;
11
12
final class ProcessFormatRequest
13
{
14
    public string $path;
15
16
    public string $filename;
17
18
    public ?string $extension = null;
19
20
    public function __construct(string $path, string $filename, ?string $extension)
21
    {
22
        $this->path = $path;
23 11
        $this->filename = $filename;
24
        $this->extension = $extension;
25 11
    }
26
}
27