vendor/api-platform/core/src/Core/DataProvider/RestrictedDataProviderInterface.php line 21

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the API Platform project.
  4. *
  5. * (c) Kévin Dunglas <dunglas@gmail.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. declare(strict_types=1);
  11. namespace ApiPlatform\Core\DataProvider;
  12. /**
  13. * Restricts a data provider based on a condition.
  14. */
  15. interface RestrictedDataProviderInterface
  16. {
  17. public function supports(string $resourceClass, string $operationName = null, array $context = []): bool;
  18. }