HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/sdo/sdoschoonmaak.nl/app/KommaApp/Kms/Core/Attributes/Models/SelectOption.php
<?php

namespace App\KommaApp\Kms\Core\Attributes\Models;
/**
 * Class SelectOptionModel
 * @package App\KommaApp\Kms\Core\Attributes\Models
 *
 * Represents a selectable option for a Select attribute
 */
class SelectOption implements SelectOptionInterface
{
    /**
     * @var $value
     */
    private $value;

    /**
     * @var string $content
     */
    private $content;

    /**
     * @var string $htmlContent
     */
    private $htmlContent;

    /**
     * SelectOptionModel constructor.
     */
    public function __construct()
    {
        $this->value = null;
        $this->content = '';
        $this->htmlContent = '';
    }

    /**
     * @param string $content
     * @return SelectOptionInterface
     */
    public function setContent(string $content): SelectOptionInterface
    {
        $this->content = $content;
        return $this;
    }

    /**
     * @return string
     */
    public function getContent(): string
    {
        return $this->content;
    }

    /**
     * @param string $content
     * @return SelectOptionInterface
     */
    public function setHtmlContent(string $content): SelectOptionInterface
    {
        $this->htmlContent = $content;
        return $this;
    }

    /**
     * @return string
     */
    public function getHtmlContent(): string
    {
        return $this->htmlContent;
    }

    /**
     * @param $value
     * @return SelectOptionInterface
     */
    public function setValue($value): SelectOptionInterface
    {
        $this->value = $value;
        return $this;
    }

    /**
     * Returns the value
     * @return mixed
     */
    public function getValue()
    {
        return $this->value;
    }
}