vendor/api-platform/core/src/Metadata/Get.php line 17

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\Metadata;
  12. #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
  13. final class Get extends HttpOperation
  14. {
  15.     /**
  16.      * {@inheritdoc}
  17.      */
  18.     public function __construct(
  19.         ?string $uriTemplate = null,
  20.         ?array $types = null,
  21.         $formats = null,
  22.         $inputFormats = null,
  23.         $outputFormats = null,
  24.         $uriVariables = null,
  25.         ?string $routePrefix = null,
  26.         ?string $routeName = null,
  27.         ?array $defaults = null,
  28.         ?array $requirements = null,
  29.         ?array $options = null,
  30.         ?bool $stateless = null,
  31.         ?string $sunset = null,
  32.         ?string $acceptPatch = null,
  33.         $status = null,
  34.         ?string $host = null,
  35.         ?array $schemes = null,
  36.         ?string $condition = null,
  37.         ?string $controller = null,
  38.         ?array $cacheHeaders = null,
  39.         ?array $hydraContext = null,
  40.         ?array $openapiContext = null,
  41.         ?bool $openapi = null,
  42.         ?array $exceptionToStatus = null,
  43.         ?bool $queryParameterValidationEnabled = null,
  44.         ?string $shortName = null,
  45.         ?string $class = null,
  46.         ?bool $paginationEnabled = null,
  47.         ?string $paginationType = null,
  48.         ?int $paginationItemsPerPage = null,
  49.         ?int $paginationMaximumItemsPerPage = null,
  50.         ?bool $paginationPartial = null,
  51.         ?bool $paginationClientEnabled = null,
  52.         ?bool $paginationClientItemsPerPage = null,
  53.         ?bool $paginationClientPartial = null,
  54.         ?bool $paginationFetchJoinCollection = null,
  55.         ?bool $paginationUseOutputWalkers = null,
  56.         ?array $paginationViaCursor = null,
  57.         ?array $order = null,
  58.         ?string $description = null,
  59.         ?array $normalizationContext = null,
  60.         ?array $denormalizationContext = null,
  61.         ?string $security = null,
  62.         ?string $securityMessage = null,
  63.         ?string $securityPostDenormalize = null,
  64.         ?string $securityPostDenormalizeMessage = null,
  65.         ?string $securityPostValidation = null,
  66.         ?string $securityPostValidationMessage = null,
  67.         ?string $deprecationReason = null,
  68.         ?array $filters = null,
  69.         ?array $validationContext = null,
  70.         $input = null,
  71.         $output = null,
  72.         $mercure = null,
  73.         $messenger = null,
  74.         ?bool $elasticsearch = null,
  75.         ?int $urlGenerationStrategy = null,
  76.         ?bool $read = null,
  77.         ?bool $deserialize = null,
  78.         ?bool $validate = null,
  79.         ?bool $write = null,
  80.         ?bool $serialize = null,
  81.         ?bool $fetchPartial = null,
  82.         ?bool $forceEager = null,
  83.         ?int $priority = null,
  84.         ?string $name = null,
  85.         $provider = null,
  86.         $processor = null,
  87.         array $extraProperties = []
  88.     ) {
  89.         parent::__construct(self::METHOD_GET, ...\func_get_args());
  90.     }
  91. }