| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | abstract class Tiqr_OcraService_Abstract implements Tiqr_OcraService_Interface |
||
| 25 | { |
||
| 26 | /** @var OATH_OCRAParser */ |
||
| 27 | protected $_ocraParser; |
||
| 28 | /** @var String */ |
||
| 29 | protected $_ocraSuite; |
||
| 30 | /** @var LoggerInterface */ |
||
| 31 | protected $logger; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @throws Exception |
||
| 35 | */ |
||
| 36 | 8 | public function __construct(array $config, LoggerInterface $logger) { |
|
| 42 | 8 | } |
|
| 43 | |||
| 44 | /** |
||
| 45 | * Generate a challenge string based on an ocraSuite |
||
| 46 | * @return String An OCRA challenge that matches the specification of |
||
| 47 | * the ocraSuite. |
||
| 48 | * @throws Exception |
||
| 49 | */ |
||
| 50 | 4 | public function generateChallenge(): string |
|
| 55 | } |