| 1 | <?php |
||
| 12 | abstract class BaseImplementation implements OutputInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var integer |
||
| 16 | */ |
||
| 17 | protected $maxValue = 0; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var integer |
||
| 21 | */ |
||
| 22 | protected $minValue = 0; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | 36 | public function output($value) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Serialize a valid value into a character |
||
| 39 | * |
||
| 40 | * @param integer $value |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | abstract protected function outputValidValue($value); |
||
| 44 | } |