PHP 클래스 ApiPlatform\Core\Bridge\Symfony\Routing\ApiLoader

저자: Kévin Dunglas ([email protected])
상속: extends Symfony\Component\Config\Loader\Loader
파일 보기 프로젝트 열기: api-platform/core

공개 메소드들

메소드 설명
__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 )