References EntrypointAction
Reference
C
Class

ApiPlatform\Action\EntrypointAction

Generates the API entrypoint.

class ApiPlatform\Action\EntrypointAction
{
    public __construct($resourceNameCollectionFactory, null|`<a href="/docs/main/references/State/ProviderInterface">ApiPlatform\State\ProviderInterface</a>` $provider, null|`<a href="/docs/main/references/State/ProcessorInterface">ApiPlatform\State\ProcessorInterface $processor, array $documentationFormats)
    public __invoke(null|Symfony\Component\HttpFoundation\Request $request): ApiPlatform\Api\Entrypoint|Symfony\Component\HttpFoundation\Response
}

Methods

__construct

Parameters

resourceNameCollectionFactory`ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface`
provider`ApiPlatform\State\ProviderInterface`
processor`ApiPlatform\State\ProcessorInterface`
documentationFormatsarray

__invoke

public __invoke(null|Symfony\Component\HttpFoundation\Request $request): ApiPlatform\Api\Entrypoint|Symfony\Component\HttpFoundation\Response

Parameters

requestSymfony\Component\HttpFoundation\Request

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop