ApiPlatform\Core\Api\IriConverterInterface::getIriFromResourceClass PHP Method

getIriFromResourceClass() public method

Gets the IRI associated with the given resource collection.
public getIriFromResourceClass ( string $resourceClass, integer $referenceType = UrlGeneratorInterface::ABS_PATH ) : string
$resourceClass string
$referenceType integer
return string
    public function getIriFromResourceClass(string $resourceClass, int $referenceType = UrlGeneratorInterface::ABS_PATH) : string;