AuraFactory::newUpdate()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Ps2alerts\Api\Factory;
4
5
use Aura\SqlQuery\QueryFactory;
6
7
class AuraFactory
8
{
9
    protected $factory;
10
11
    public function __construct(QueryFactory $aura)
12
    {
13
        $this->factory = $aura;
14
    }
15
16
    public function newSelect()
17
    {
18
        return $this->factory->newSelect();
19
    }
20
21
    public function newUpdate()
22
    {
23
        return $this->factory->newUpdate();
24
    }
25
26
    public function newDelete()
27
    {
28
        return $this->factory->newDelete();
29
    }
30
}
31