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