| 1 | <?php |
||
| 6 | class ConceptPropertyValueLiteral |
||
|
|
|||
| 7 | { |
||
| 8 | /** the literal object for the property value */ |
||
| 9 | private $literal; |
||
| 10 | /** property type */ |
||
| 11 | private $type; |
||
| 12 | |||
| 13 | public function __construct($literal, $prop) |
||
| 18 | |||
| 19 | public function __toString() |
||
| 27 | |||
| 28 | public function getLang() |
||
| 32 | |||
| 33 | public function getType() |
||
| 37 | |||
| 38 | public function getContainsHtml() { |
||
| 41 | |||
| 42 | public function getLabel() |
||
| 56 | |||
| 57 | public function getUri() |
||
| 61 | |||
| 62 | public function getNotation() |
||
| 66 | |||
| 67 | } |
||
| 68 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.