setKey($key);
$this->setValue($value);
$this->setSelected($selected);
}
/**
* Return the HTML String for the option value
* @return string
*/
public function get()
{
if($this->isSelected()){
return '';
}else{
return '';
}
}
/**
* @return string
*/
public function getValue(): string
{
return $this->value;
}
/**
* @param string $value
*/
private function setValue(string $value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getKey(): string
{
return $this->key;
}
/**
* @param string $key
*/
private function setKey(string $key)
{
$this->key = $key;
}
/**
* @return bool
*/
public function isSelected(): bool
{
return $this->selected;
}
/**
* @param bool $selected
*/
public function setSelected(bool $selected)
{
$this->selected = $selected;
}
}
}