| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | abstract class Converter |
||
| 22 | { |
||
| 23 | protected $text; |
||
| 24 | protected $id; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @brief Constructor. |
||
| 28 | * |
||
| 29 | * @param string $text the text to be converted |
||
| 30 | * @param string $id you can provide an identifier which is used in case an exception is raised during the |
||
| 31 | * conversion process |
||
| 32 | */ |
||
| 33 | public function __construct(string $text = null, string $id = null) |
||
| 39 |