Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | class Tiqr_OcraService |
||
28 | { |
||
29 | /** |
||
30 | * Get a ocra service of a certain type (default: 'tiqr') |
||
31 | * |
||
32 | * @param String $type The type of ocra service to create. Supported |
||
33 | * types are 'tiqr' or 'oathservice'. |
||
34 | * @param array $options The options to pass to the ocra service |
||
35 | * instance. |
||
36 | * |
||
37 | * @return Tiqr_OcraService_Interface |
||
38 | * @throws Exception An exception if an unknown orca service type is requested. |
||
39 | */ |
||
40 | 11 | public static function getOcraService(string $type="tiqr", array $options=array(), LoggerInterface $logger=null) |
|
54 |