| 1 | <?php |
||
| 19 | abstract class Converter { |
||
| 20 | protected $text; |
||
| 21 | protected $id; |
||
| 22 | |||
| 23 | |||
| 24 | /** |
||
| 25 | * @brief Constructor. |
||
| 26 | * @param string $text The text to be converted. |
||
| 27 | * @param string $id You can provide an identifier which is used in case an exception is raised during the |
||
| 28 | * conversion process. |
||
| 29 | */ |
||
| 30 | public function __construct($text, $id = '') { |
||
| 34 | |||
| 35 | } |