PHP Класс ApiPlatform\Core\Bridge\Symfony\Routing\ApiLoader

Автор: Kévin Dunglas ([email protected])
Наследование: extends Symfony\Component\Config\Loader\Loader
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\PathResolver\OperationPathResolverInterface $operationPathResolver, Symfony\Component\DependencyInjection\ContainerInterface $container, array $formats )
load ( $data, $type = null )
supports ( $resource, $type = null )

Приватные методы

Метод Описание
addRoute ( RouteCollection $routeCollection, string $resourceClass, string $operationName, array $operation, string $resourceShortName, boolean $collection ) Creates and adds a route for the given operation to the route collection.
loadExternalFiles ( RouteCollection $routeCollection ) Load external files.

Описание методов

__construct() публичный метод

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\PathResolver\OperationPathResolverInterface $operationPathResolver, Symfony\Component\DependencyInjection\ContainerInterface $container, array $formats )
$kernel Symfony\Component\HttpKernel\KernelInterface
$resourceNameCollectionFactory ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface
$resourceMetadataFactory ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface
$operationPathResolver ApiPlatform\Core\PathResolver\OperationPathResolverInterface
$container Symfony\Component\DependencyInjection\ContainerInterface
$formats array

load() публичный метод

public load ( $data, $type = null )

supports() публичный метод

public supports ( $resource, $type = null )