Carbon_Breadcrumb_Item_Custom   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A setup() 0 3 1
1
<?php
2
/**
3
 * Custom breadcrumb item
4
 *
5
 * @package carbon-breadcrumbs
6
 */
7
8
/**
9
 * Custom breadcrumb item class.
10
 *
11
 * Used for breadcrumb items with custom title and link.
12
 */
13
class Carbon_Breadcrumb_Item_Custom extends Carbon_Breadcrumb_Item {
14
	/**
15
	 * Setup this breadcrumb item.
16
	 *
17
	 * Custom items don't need a special setup, so we only define an empty method.
18
	 *
19
	 * @abstract
20
	 * @access public
21
	 */
22
	public function setup() {
23
		// Custom breadcrumb items should be setup manually.
24
	}
25
26
}
27