Failed Conditions
Push — master ( ddb3cd...4476ec )
by Marco
11:47
created

JoinClassPathExpression   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 28
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A dispatch() 0 3 1
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\ORM\Query\AST;
6
7
/**
8
 * JoinClassPathExpression ::= AbstractSchemaName ["AS"] AliasIdentificationVariable
9
 */
10
class JoinClassPathExpression extends Node
11
{
12
    /**
13
     * @var mixed
14
     */
15
    public $abstractSchemaName;
16
17
    /**
18
     * @var mixed
19
     */
20
    public $aliasIdentificationVariable;
21
22
    /**
23
     * @param mixed $abstractSchemaName
24
     * @param mixed $aliasIdentificationVar
25
     */
26
    public function __construct($abstractSchemaName, $aliasIdentificationVar)
27
    {
28
        $this->abstractSchemaName          = $abstractSchemaName;
29
        $this->aliasIdentificationVariable = $aliasIdentificationVar;
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function dispatch($walker)
36
    {
37
        return $walker->walkJoinPathExpression($this);
38
    }
39
}
40