public function makeSubmenu($title, array $attributes = array())
	{
		$collection = new static($this->builder, ['id' => StringUtils::slug($title)]);

		return new Nodes\SubmenuNode($title, $collection, $attributes);
	}
public function makeSubmenu($title, array $attributes = array())
	{
		$collection = new static($this->builder, ['id' => StringUtils::slug($title)]);

		return new Nodes\SubmenuNode($title, $collection, $attributes);
	}
public function makeSubmenu ( $ title , array $ attributes = array ( ) ) { $ collection = new static ( $ this -> builder , [ 'id' => StringUtils :: slug ( $ title ) ] ) ; return new Nodes \ SubmenuNode ( $ title , $ collection , $ attributes ) ; }
Make a new submenu item instance.

@param  string $title
@param  array  $attributes

@return \anlutro\Menu\Nodes\SubmenuNode
Make a new submenu item instance .