@@ -27,8 +27,6 @@ interface IriConverterInterface
2727 /**
2828 * Retrieves an item from its IRI.
2929 *
30- * @param string $iri
31- * @param array $context
3230 *
3331 * @throws InvalidArgumentException
3432 * @throws ItemNotFoundException
@@ -41,50 +39,33 @@ public function getItemFromIri(string $iri, array $context = []);
4139 * Gets the IRI associated with the given item.
4240 *
4341 * @param object $item
44- * @param int $referenceType
4542 *
4643 * @throws InvalidArgumentException
4744 * @throws RuntimeException
48- *
49- * @return string
5045 */
5146 public function getIriFromItem ($ item , int $ referenceType = UrlGeneratorInterface::ABS_PATH ): string ;
5247
5348 /**
5449 * Gets the IRI associated with the given resource collection.
5550 *
56- * @param string $resourceClass
57- * @param int $referenceType
5851 *
5952 * @throws InvalidArgumentException
60- *
61- * @return string
6253 */
6354 public function getIriFromResourceClass (string $ resourceClass , int $ referenceType = UrlGeneratorInterface::ABS_PATH ): string ;
6455
6556 /**
6657 * Gets the item IRI associated with the given resource.
6758 *
68- * @param string $resourceClass
69- * @param array $identifiers
70- * @param int $referenceType
7159 *
7260 * @throws InvalidArgumentException
73- *
74- * @return string
7561 */
7662 public function getItemIriFromResourceClass (string $ resourceClass , array $ identifiers , int $ referenceType = UrlGeneratorInterface::ABS_PATH ): string ;
7763
7864 /**
7965 * Gets the IRI associated with the given resource subresource.
8066 *
81- * @param string $resourceClass
82- * @param array $identifiers
83- * @param int $referenceType
8467 *
8568 * @throws InvalidArgumentException
86- *
87- * @return string
8869 */
8970 public function getSubresourceIriFromResourceClass (string $ resourceClass , array $ identifiers , int $ referenceType = UrlGeneratorInterface::ABS_PATH ): string ;
9071}
0 commit comments