Completed
Push — master ( 47c098...6c95d6 )
by smiley
02:23
created

IfNotExistsTrait::_ifNotExists()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/**
3
 * Trait IfNotExistsTrait
4
 *
5
 * @filesource   IfNotExistsTrait.php
6
 * @created      05.06.2017
7
 * @package      chillerlan\Database\Query\Traits
8
 * @author       Smiley <[email protected]>
9
 * @copyright    2017 Smiley
10
 * @license      MIT
11
 */
12
13
namespace chillerlan\Database\Query\Traits;
14
15
trait IfNotExistsTrait{
16
17
	protected $ifNotExists = false;
18
19
	public function _ifNotExists(){
20
		$this->ifNotExists = true;
21
22
		return $this;
23
	}
24
25
}
26