src/Html/FormBuilder.php
public function getSelectOption($display, $value, $selected, array $attributes = [])
    {
        if (is_array($display)) {
            return $this->optionGroup($display, $value, $selected, $attributes);
        }

        return $this->option($display, $value, $selected, $attributes);
    }
public function getSelectOption($display, $value, $selected, array $attributes = [])
    {
        if (is_array($display)) {
            return $this->optionGroup($display, $value, $selected, $attributes);
        }

        return $this->option($display, $value, $selected, $attributes);
    }
Get the select option for the given value.

@param  string $display
@param  string $value
@param  string $selected
@param  array $attributes

@return \Illuminate\Support\HtmlString