protected function getOptionList($row, Fluent $control)
    {
        // set the value of options, if it's callable run it first
        $options = $control->get('options');

        if ($options instanceof Closure) {
            $options = $options($row, $control);
        }

        return $options;
    }
protected function getOptionList($row, Fluent $control)
    {
        // set the value of options, if it's callable run it first
        $options = $control->get('options');

        if ($options instanceof Closure) {
            $options = $options($row, $control);
        }

        return $options;
    }
protected function getOptionList ( $ row , Fluent $ control ) { // set the value of options, if it's callable run it first $ options = $ control -> get ( 'options' ) ; if ( $ options instanceof Closure ) { $ options = $ options ( $ row , $ control ) ; } return $ options ; }
Get options from control.

@param  mixed  $row
@param  \Illuminate\Support\Fluent  $control

@return array|\Illuminate\Contracts\Support\Arrayable
Get options from control .