Esempio n. 1
0
 /**
  * Construct.
  *
  * @param Button $button     Item button.
  * @param array  $attributes Html attributes.
  */
 public function __construct(Button $button, array $attributes = array())
 {
     $attributes = array_merge_recursive(array('role' => 'presenation'), $attributes);
     $button->removeClass('btn');
     $this->button = $button;
     parent::__construct($attributes);
 }