Completed
Push — master ( 6a8f4b...4a9289 )
by Peter
09:25
created

ConditionsAware::getConditions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
/*
4
 * To change this license header, choose License Headers in Project Properties.
5
 * To change this template file, choose Tools | Templates
6
 * and open the template in the editor.
7
 */
8
9
namespace Maslosoft\Manganel\Decorators\QueryBuilder\Traits;
10
11
/**
12
 * ConditionsAware
13
 *
14
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
15
 */
16
trait ConditionsAware
17
{
18
19
	private $conditions = [];
20
21 7
	public function getConditions()
22
	{
23 7
		return $this->conditions;
24
	}
25
26 7
	public function setConditions($conditions)
27
	{
28 7
		$this->conditions = $conditions;
29 7
		return $this;
30
	}
31
32
}
33