attributes() public method

Converts the defined attributes into HTML.
public attributes ( array $attributes = [] ) : string
$attributes array
return string
示例#1
0
文件: Item.php 项目: tok3/menus
 /**
  * Fetch the formatted attributes for the item in HTML.
  *
  * @return string
  */
 public function attributes()
 {
     return $this->builder->attributes($this->attributes);
 }