Completed
Push — develop ( e7cba6...164e03 )
by Freddie
13:34
created

CreateRepositoryFileRequest::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 4
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 CreateRepositoryFileRequest
13
{
14
    /**
15
     * @var string
16
     */
17
    public $entity;
18
19
    /**
20
     * @var array
21
     */
22
    public $actions;
23
24
    public function __construct(string $entity, array $actions)
25
    {
26
        $this->entity = $entity;
27
        $this->actions = $actions;
28
    }
29
}
30