@@ -27,8 +27,6 @@ interface IriConverterInterface
27
27
/**
28
28
* Retrieves an item from its IRI.
29
29
*
30
- * @param string $iri
31
- * @param array $context
32
30
*
33
31
* @throws InvalidArgumentException
34
32
* @throws ItemNotFoundException
@@ -41,50 +39,33 @@ public function getItemFromIri(string $iri, array $context = []);
41
39
* Gets the IRI associated with the given item.
42
40
*
43
41
* @param object $item
44
- * @param int $referenceType
45
42
*
46
43
* @throws InvalidArgumentException
47
44
* @throws RuntimeException
48
- *
49
- * @return string
50
45
*/
51
46
public function getIriFromItem ($ item , int $ referenceType = UrlGeneratorInterface::ABS_PATH ): string ;
52
47
53
48
/**
54
49
* Gets the IRI associated with the given resource collection.
55
50
*
56
- * @param string $resourceClass
57
- * @param int $referenceType
58
51
*
59
52
* @throws InvalidArgumentException
60
- *
61
- * @return string
62
53
*/
63
54
public function getIriFromResourceClass (string $ resourceClass , int $ referenceType = UrlGeneratorInterface::ABS_PATH ): string ;
64
55
65
56
/**
66
57
* Gets the item IRI associated with the given resource.
67
58
*
68
- * @param string $resourceClass
69
- * @param array $identifiers
70
- * @param int $referenceType
71
59
*
72
60
* @throws InvalidArgumentException
73
- *
74
- * @return string
75
61
*/
76
62
public function getItemIriFromResourceClass (string $ resourceClass , array $ identifiers , int $ referenceType = UrlGeneratorInterface::ABS_PATH ): string ;
77
63
78
64
/**
79
65
* Gets the IRI associated with the given resource subresource.
80
66
*
81
- * @param string $resourceClass
82
- * @param array $identifiers
83
- * @param int $referenceType
84
67
*
85
68
* @throws InvalidArgumentException
86
- *
87
- * @return string
88
69
*/
89
70
public function getSubresourceIriFromResourceClass (string $ resourceClass , array $ identifiers , int $ referenceType = UrlGeneratorInterface::ABS_PATH ): string ;
90
71
}
0 commit comments