Completed
Push — develop ( 3d0c4c...e7cba6 )
by Freddie
13:19 queued 12s
created

CreateConcreteGatewayFileRequest::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 4
dl 0
loc 6
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 CreateConcreteGatewayFileRequest implements RequestInterface
15
{
16
    /**
17
     * @var string
18
     */
19
    public $entity;
20
21
    /**
22
     * @var string
23
     */
24
    public $concrete;
25
26
    /**
27
     * @var array
28
     */
29
    public $actions;
30
31
    /**
32
     * @var array
33
     */
34
    public $properties;
35
36
    public function __construct(string $entity, string $concrete, array $actions, array $properties)
37
    {
38
        $this->entity = $entity;
39
        $this->concrete = $concrete;
40
        $this->actions = $actions;
41
        $this->properties = $properties;
42
    }
43
}
44