AuraSqlSelectInject   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 12
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setAuraSqlSelect() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\AuraSqlModule;
6
7
use Aura\SqlQuery\Common\SelectInterface;
8
use Ray\Di\Di\Inject;
9
10
trait AuraSqlSelectInject
11
{
12
    /** @var SelectInterface */
13
    protected $select;
14
15
    /**
16
     * @Inject
17
     */
18
    #[Inject]
19
    public function setAuraSqlSelect(SelectInterface $select): void
20
    {
21
        $this->select = $select;
22
    }
23
}
24