Ignore   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A ignore() 0 5 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Adrian Dumitru
5
 * Date: 6/27/2017
6
 * Time: 8:47 AM
7
 */
8
9
namespace Qpdb\QueryBuilder\Traits;
10
11
12
use Qpdb\QueryBuilder\Dependencies\QueryStructure;
13
14
/**
15
 * Trait Ignore
16
 * @package Qpdb\QueryBuilder\Traits
17
 * @property QueryStructure $queryStructure
18
 */
19
trait Ignore
20
{
21
22
	/**
23
	 * @return $this
24
	 * @throws \Qpdb\QueryBuilder\Dependencies\QueryException
25
	 */
26
	public function ignore()
27
	{
28
		$this->queryStructure->setElement( QueryStructure::IGNORE, 1 );
29
30
		return $this;
31
	}
32
33
34
}