src/Tomahawk/Forms/Element/Select.php
protected function option($display, $value, $selected, $multiple = false)
    {
        $selected = $this->getSelectedValue($value, $selected, $multiple);

        $options = array(
            'value'    => $this->entities($value),
            'selected' => $selected
        );

        return sprintf('<option%s>%s</option>', $this->attributes($options), $this->entities($display));
    }
protected function option($display, $value, $selected, $multiple = false)
    {
        $selected = $this->getSelectedValue($value, $selected, $multiple);

        $options = array(
            'value'    => $this->entities($value),
            'selected' => $selected
        );

        return sprintf('<option%s>%s</option>', $this->attributes($options), $this->entities($display));
    }
Create a select element option.

@param  string $display
@param  string $value
@param  string $selected
@param bool $multiple
@return string