| Total Complexity | 3 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | abstract class BaseParser |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected $added_triples; |
||
| 26 | |||
| 27 | protected string $base; |
||
| 28 | |||
| 29 | protected string $bnode_id; |
||
| 30 | |||
| 31 | protected array $blocks; |
||
| 32 | |||
| 33 | protected Logger $logger; |
||
| 34 | |||
| 35 | protected NamespaceHelper $namespaceHelper; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Query infos container. |
||
| 39 | */ |
||
| 40 | protected array $r = []; |
||
| 41 | |||
| 42 | protected StringReader $stringReader; |
||
| 43 | |||
| 44 | protected array $triples = []; |
||
| 45 | |||
| 46 | protected int $t_count = 0; |
||
| 47 | |||
| 48 | 98 | public function __construct(Logger $logger, NamespaceHelper $namespaceHelper, StringReader $stringReader) |
|
| 60 | 98 | } |
|
| 61 | |||
| 62 | 96 | public function getQueryInfos() |
|
| 65 | } |
||
| 66 | |||
| 67 | 2 | public function getTriples() |
|
| 72 |