Completed
Push — master ( 61693e...22854d )
by Sergei
68:18 queued 05:14
created

From   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\DBAL\Query;
6
7
/**
8
 * @internal
9
 */
10
final class From
11
{
12
    /** @var string */
13
    public $table;
14
15
    /** @var string|null */
16
    public $alias;
17
18
    public function __construct(string $table, ?string $alias = null)
19
    {
20
        $this->table = $table;
21
        $this->alias = $alias;
22
    }
23
}
24