Method | Description | |
---|---|---|
__construct ( ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $propertyMetadataFactory, ApiPlatform\Core\DataProvider\ItemDataProviderInterface $itemDataProvider, ApiPlatform\Core\Bridge\Symfony\Routing\RouteNameResolverInterface $routeNameResolver, Symfony\Component\Routing\RouterInterface $router, Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor = null ) | ||
getIriFromItem ( $item, integer $referenceType = UrlGeneratorInterface::ABS_PATH ) : string | ||
getIriFromResourceClass ( string $resourceClass, integer $referenceType = UrlGeneratorInterface::ABS_PATH ) : string | ||
getItemFromIri ( string $iri, array $context = [] ) |
Method | Description | |
---|---|---|
generateIdentifiersUrl ( array $identifiers ) : array | Generate the identifier url. | |
getIdentifiersFromItem ( object $item ) : array | Find identifiers from an Item (Object). |
public __construct ( ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $propertyMetadataFactory, ApiPlatform\Core\DataProvider\ItemDataProviderInterface $itemDataProvider, ApiPlatform\Core\Bridge\Symfony\Routing\RouteNameResolverInterface $routeNameResolver, Symfony\Component\Routing\RouterInterface $router, Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor = null ) | ||
$propertyNameCollectionFactory | ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface | |
$propertyMetadataFactory | ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface | |
$itemDataProvider | ApiPlatform\Core\DataProvider\ItemDataProviderInterface | |
$routeNameResolver | ApiPlatform\Core\Bridge\Symfony\Routing\RouteNameResolverInterface | |
$router | Symfony\Component\Routing\RouterInterface | |
$propertyAccessor | Symfony\Component\PropertyAccess\PropertyAccessorInterface |
public getIriFromItem ( $item, integer $referenceType = UrlGeneratorInterface::ABS_PATH ) : string | ||
$referenceType | integer | |
return | string |
public getItemFromIri ( string $iri, array $context = [] ) | ||
$iri | string | |
$context | array |