Test Setup Failed
Push — develop ( c73499...361b2b )
by Freddie
03:04
created

CreateUseCaseFileRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

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