Test Setup Failed
Push — develop ( 17b215...d74e9d )
by Freddie
13:13
created

CreateConstraintFileRequest::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
c 0
b 0
f 0
nc 1
nop 3
dl 0
loc 5
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
use FlexPHP\Messages\RequestInterface;
13
14
final class CreateConstraintFileRequest implements RequestInterface
15
{
16
    /**
17
     * @var string
18
     */
19
    public $entity;
20
21
    /**
22
     * @var array
23
     */
24
    public $properties;
25
26
    /**
27
     * @var string
28
     */
29
    public $outputFolder;
30
31
    public function __construct(string $entity, array $properties, string $outputFolder)
32
    {
33
        $this->entity = $entity;
34
        $this->properties = $properties;
35
        $this->outputFolder = $outputFolder;
36
    }
37
}
38