interface ApiPlatform\Metadata\ResourceAccessCheckerInterface
{
public isGranted(string $resourceClass, string $expression, array $extraVariables): bool
}
Checks if the given item can be accessed by the current user.
public isGranted(string $resourceClass, string $expression, array $extraVariables): bool
resourceClass | string | |
expression | string | |
extraVariables | array |
bool
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