1 | <?php |
||
6 | class ConceptPropertyValueLiteral extends VocabularyDataObject |
||
|
|||
7 | { |
||
8 | /** the literal object for the property value */ |
||
9 | private $literal; |
||
10 | /** property type */ |
||
11 | private $type; |
||
12 | |||
13 | public function __construct($model, $vocab, $resource, $literal, $prop) |
||
19 | |||
20 | public function __toString() |
||
28 | |||
29 | public function getLang() |
||
33 | |||
34 | public function getType() |
||
38 | |||
39 | public function getContainsHtml() { |
||
42 | |||
43 | public function getLabel() |
||
57 | |||
58 | public function getUri() |
||
62 | |||
63 | public function getNotation() |
||
67 | |||
68 | public function hasXlProperties() |
||
75 | |||
76 | public function getXlProperties() |
||
92 | |||
93 | } |
||
94 |
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.