ProcessFormatRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 7
c 2
b 0
f 0
dl 0
loc 13
ccs 1
cts 1
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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