function __call($name, $arguments) { if ($name === 'list') { $this->list = Arr::get($arguments, 0, null); return $this; } return parent::__call($name, $arguments); }
/** * @param $name * @param $arguments * @return \SleepingOwl\Admin\Models\Form\FormItem\MultiSelect|void * @throws MethodNotFoundException */ function __call($name, $arguments) { if ($name === 'list') { return $this->setList(Arr::get($arguments, 0, null)); } return parent::__call($name, $arguments); }
function __construct($name = null, $label = null) { parent::__construct($name, $label); $this->view = $name; }