throw new LinkedResourceNotFoundException('No property exists for ' . $name . '. Available links are ' . implode(' ', array_keys((array) $this->links)));
23
}
24
25
/**
26
* Because the name of the property within the $links->property->$name object may change, we must avoid accessing it directly.
27
* The below converts the object into an array, obtains the values directly (bypassing the need to know the key),
28
* and retrieves the first (and only) item from the resultant array which will be our linked resource path.