Метод | Описание | |
---|---|---|
__construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $propertyMetadataFactory, ApiPlatform\Core\Api\UrlGeneratorInterface $urlGenerator, Symfony\Component\Serializer\NameConverter\NameConverterInterface $nameConverter = null ) | ||
getBaseContext ( integer $referenceType = UrlGeneratorInterface::ABS_URL ) : array | ||
getEntrypointContext ( integer $referenceType = UrlGeneratorInterface::ABS_PATH ) : array | ||
getResourceContext ( string $resourceClass, integer $referenceType = UrlGeneratorInterface::ABS_PATH ) : array | ||
getResourceContextUri ( string $resourceClass, integer $referenceType = UrlGeneratorInterface::ABS_PATH ) : string |
public __construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $propertyMetadataFactory, ApiPlatform\Core\Api\UrlGeneratorInterface $urlGenerator, Symfony\Component\Serializer\NameConverter\NameConverterInterface $nameConverter = null ) | ||
$resourceNameCollectionFactory | ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface | |
$resourceMetadataFactory | ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface | |
$propertyNameCollectionFactory | ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface | |
$propertyMetadataFactory | ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface | |
$urlGenerator | ApiPlatform\Core\Api\UrlGeneratorInterface | |
$nameConverter | Symfony\Component\Serializer\NameConverter\NameConverterInterface |
public getBaseContext ( integer $referenceType = UrlGeneratorInterface::ABS_URL ) : array | ||
$referenceType | integer | |
Результат | array |
public getEntrypointContext ( integer $referenceType = UrlGeneratorInterface::ABS_PATH ) : array | ||
$referenceType | integer | |
Результат | array |