Guides
Tutorials
class ApiPlatform\State\CallableProvider implements `<a href="/docs/reference/State/ProviderInterface">ApiPlatform\State\ProviderInterface</a>`
{
public __construct(Psr\Container\ContainerInterface $locator)
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): object|array
}
class ApiPlatform\State\CallableProvider implements `<a href="/docs/reference/State/ProviderInterface">ApiPlatform\State\ProviderInterface</a>`
{
public __construct(Psr\Container\ContainerInterface $locator)
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): object|array
}
public __construct(Psr\Container\ContainerInterface $locator)
public __construct(Psr\Container\ContainerInterface $locator)
locator | Psr\Container\ContainerInterface |
Provides data.
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): object|array
public provide(ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context): object|array
operation | ApiPlatform\Metadata\Operation | |
uriVariables | array | |
context | array |
object
array