| 1 | <?php | ||
| 8 | abstract class Option implements OptionInterface | ||
| 9 | { | ||
| 10 | const TYPE_BOOLEAN = 'boolean'; | ||
| 11 | const TYPE_INTEGER = 'integer'; | ||
| 12 | const TYPE_STRING = 'string'; | ||
| 13 | |||
| 14 | private $value = null; | ||
| 15 | |||
| 16 | /** | ||
| 17 |      * {@inheritdoc} | ||
| 18 | */ | ||
| 19 | public function __construct(array $settings = array()) | ||
| 25 | |||
| 26 | /** | ||
| 27 |      * {@inheritdoc} | ||
| 28 | */ | ||
| 29 | public function getValue() | ||
| 33 | |||
| 34 | /** | ||
| 35 |      * {@inheritdoc} | ||
| 36 | */ | ||
| 37 | public function setValue($value) | ||
| 41 | |||
| 42 | /** | ||
| 43 |      * {@inheritdoc} | ||
| 44 | */ | ||
| 45 | public static function createFromType($type, array $settings = array()) | ||
| 64 | } | ||
| 65 |