lib/MenuItem.php
public function name() {
		if ( $title = $this->title() ) {
			return $title;
		}
		if ( isset($this->_name) ) {
			return $this->_name;
		}
		return '';
	}
public function name() {
		if ( $title = $this->title() ) {
			return $title;
		}
		if ( isset($this->_name) ) {
			return $this->_name;
		}
		return '';
	}
public function name ( ) { if ( $ title = $ this -> title ( ) ) { return $ title ; } if ( isset ( $ this -> _name ) ) { return $ this -> _name ; } return '' ; }
Get the label for the menu item.

@api
@return string The label for the menu item.
Get the label for the menu item .