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
}
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)
resourceNameCollectionFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface` | |
provider | `ApiPlatform\State\ProviderInterface` | |
processor | `ApiPlatform\State\ProcessorInterface` | |
documentationFormats | array |
public __invoke(null|Symfony\Component\HttpFoundation\Request $request): ApiPlatform\Api\Entrypoint|Symfony\Component\HttpFoundation\Response
request | Symfony\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