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