vendor/api-platform/core/src/Core/DataProvider/ContextAwareCollectionDataProviderInterface.php line 23

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. * Retrieves items from a persistence layer and allow to pass a context to it.
  14. *
  15. * @author Kévin Dunglas <dunglas@gmail.com>
  16. */
  17. interface ContextAwareCollectionDataProviderInterface extends CollectionDataProviderInterface
  18. {
  19. public function getCollection(string $resourceClass, string $operationName = null, array $context = []);
  20. }