| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class NamedNode implements iNamedNode |
||
| 19 | { |
||
| 20 | private string $iri; |
||
| 21 | |||
| 22 | 6 | public function __construct(string $iri) |
|
| 25 | 6 | } |
|
| 26 | |||
| 27 | 1 | public function __toString(): string |
|
| 28 | { |
||
| 29 | 1 | return '<'.$this->iri.'>'; |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | public function getValue(): string |
|
| 33 | { |
||
| 34 | 1 | return $this->iri; |
|
| 35 | } |
||
| 36 | |||
| 37 | 1 | public function getType(): string |
|
| 40 | } |
||
| 41 | |||
| 42 | 2 | public function equals(Term $term): bool |
|
| 45 | } |
||
| 46 | } |
||
| 47 |