nestedset   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 18
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
/**
3
 *
4
 * @package sitemaker
5
 * @copyright (c) 2013 Daniel A. (blitze)
6
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
 *
8
 */
9
10
namespace blitze\sitemaker\services\menus;
11
12
use blitze\sitemaker\services\tree\builder;
13
14
class nestedset extends builder
15
{
16
	/**
17
	* Construct
18
	*
19
	* @param \phpbb\db\driver\driver_interface	$db				Database connection
20
	* @param \phpbb\lock\db						$lock			Lock class used to lock the table when moving forums around
21
	* @param string								$table_name		Table name
22
	*/
23 54
	public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\lock\db $lock, $table_name)
24
	{
25 54
		parent::__construct(
26 54
			$db,
27 54
			$lock,
28 54
			$table_name,
29 54
			'MENU_',
30 54
			'',
31 54
			array()
32 54
		);
33 54
	}
34
}
35