protected function handleButtonsType() { foreach ($this->config['buttons'] as $bid => $button) { $this->button($bid, $button); } return $this->render(['buttons' => $this->buttons->all()]); }
/** * all method * @return array */ public function all() { return $this->items->all(); }