GenerateSelectsEvent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 22
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace Netdudes\DataSourceryBundle\DataSource\Driver\Doctrine\Events;
3
4
use Doctrine\ORM\Query\Expr\Select;
5
use Symfony\Component\EventDispatcher\Event;
6
7
class GenerateSelectsEvent extends Event
8
{
9
    /**
10
     * @var Select
11
     */
12
    public $select;
13
14
    /**
15
     * @var
16
     */
17
    public $fromAlias;
18
19
    /**
20
     * @param $select
21
     * @param $fromAlias
22
     */
23
    public function __construct(Select $select, $fromAlias)
24
    {
25
        $this->select = $select;
26
        $this->fromAlias = $fromAlias;
27
    }
28
}
29