@@ -205,6 +205,9 @@ |
||
205 | 205 | ); |
206 | 206 | } |
207 | 207 | |
208 | + /** |
|
209 | + * @return \Ask\Language\Description\Description |
|
210 | + */ |
|
208 | 211 | private function buildValueDescriptionsForObjects(ResourceListNode $objectList) { |
209 | 212 | $valueDescriptions = array(); |
210 | 213 |
@@ -129,6 +129,10 @@ |
||
129 | 129 | $resource->image->name = $image->getTitle(); |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param string $image |
|
134 | + * @param string $target |
|
135 | + */ |
|
132 | 136 | private function newViewAction(array $nameTerms, $image, $target) { |
133 | 137 | $actionResource = new stdClass(); |
134 | 138 | $actionResource->{'@type'} = 'ViewAction'; |
@@ -58,6 +58,9 @@ |
||
58 | 58 | return $this->entityIdsToEntityIdValues($this->getEntityIdsForValue($value)); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $value |
|
63 | + */ |
|
61 | 64 | private function getEntityIdsForValue($value) { |
62 | 65 | $languageCode = $this->getOption(ValueParser::OPT_LANG); |
63 | 66 | $term = new Term($languageCode, $value); |