protected function pullFromOptions($name, $method)
    {
        if (Arr::get($this->formOptions, $name) !== null) {
            $this->{$method}(Arr::pull($this->formOptions, $name));
        }
    }
protected function pullFromOptions($name, $method)
    {
        if (Arr::get($this->formOptions, $name) !== null) {
            $this->{$method}(Arr::pull($this->formOptions, $name));
        }
    }
protected function pullFromOptions ( $ name , $ method ) { if ( Arr :: get ( $ this -> formOptions , $ name ) !== null ) { $ this -> { $ method } ( Arr :: pull ( $ this -> formOptions , $ name ) ) ; } }
Get an option from provided options and call method with that value.

@param string $name
@param string $method
Get an option from provided options and call method with that value .