Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
5 | trait BindTrait |
||
6 | { |
||
7 | /** |
||
8 | * @var array |
||
9 | */ |
||
10 | protected $bind = []; |
||
11 | |||
12 | /** |
||
13 | * @param array $bind |
||
14 | * |
||
15 | * @return $this |
||
16 | */ |
||
17 | public function bind(array $bind = []) |
||
18 | { |
||
19 | $this->bind = \array_merge($this->bind, $bind); |
||
20 | |||
21 | return $this; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return array |
||
26 | */ |
||
27 | public function bindData(): array |
||
30 | } |
||
31 | } |
||
32 |