The doc comment array{type:string, path:...onseClass:class-string} at position 12 could not be parsed: Unknown type name 'class-string' at position 12 in array{type:string, path:string, responseClass:class-string}.
Loading history...
19
* @throws NoLinkedResourceException
20
* @throws LinkedResourceNotFoundException
21
*/
22
public function getLink(string $name)
23
{
24
if (!property_exists($this, 'links')) {
25
throw new NoLinkedResourceException('No linked resources for ' . get_called_class());
throw new LinkedResourceNotFoundException('No property exists for ' . $name . '. Available links are ' . implode(' ', array_keys((array) $this->links)));