ParentDict::kill()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 6
rs 9.4286
cc 1
eloc 3
nc 1
nop 0
1
<?php namespace Knot\Dict;
2
3
use Knot\Dict;
4
5
/**
6
 * Class ParentDict
7
 * @package Knot\Dict
8
 */
9
class ParentDict extends Dict {
10
11
	/**
12
	 * @return $this
13
	 */
14
	public function kill()
15
	{
16
		$this->data = [ ];
17
18
		return $this;
19
	}
20
21
}