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