| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | abstract class AbstractBillInterpreter implements BillInterpreter |
||
| 18 | { |
||
| 19 | protected $regex; |
||
| 20 | protected $matches = []; |
||
| 21 | |||
| 22 | public function __construct(string $regex) |
||
| 25 | } |
||
| 26 | |||
| 27 | |||
| 28 | abstract public function interpret(BillContext $context): float; |
||
| 29 | |||
| 30 | public function isValid(BillContext $context): bool |
||
| 35 |