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

CreateDatabaseFileRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 11
c 1
b 0
f 0
dl 0
loc 34
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 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 CreateDatabaseFileRequest implements RequestInterface
15
{
16
    /**
17
     * @var string
18
     */
19
    public $platform;
20
21
    /**
22
     * @var string
23
     */
24
    public $dbname;
25
26
    /**
27
     * @var string
28
     */
29
    public $username;
30
31
    /**
32
     * @var string
33
     */
34
    public $password;
35
36
    /**
37
     * @var array<int, string>
38
     */
39
    public $yamls;
40
41
    public function __construct(string $platform, string $dbname, string $username, string $password, array $yamls)
42
    {
43
        $this->platform = $platform;
44
        $this->dbname = $dbname;
45
        $this->username = $username;
46
        $this->password = $password;
47
        $this->yamls = $yamls;
48
    }
49
}
50