vendor/api-platform/core/src/Metadata/Put.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 Put 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.         // abstract operation arguments
  45.         ?string $shortName null,
  46.         ?string $class null,
  47.         ?bool $paginationEnabled null,
  48.         ?string $paginationType null,
  49.         ?int $paginationItemsPerPage null,
  50.         ?int $paginationMaximumItemsPerPage null,
  51.         ?bool $paginationPartial null,
  52.         ?bool $paginationClientEnabled null,
  53.         ?bool $paginationClientItemsPerPage null,
  54.         ?bool $paginationClientPartial null,
  55.         ?bool $paginationFetchJoinCollection null,
  56.         ?bool $paginationUseOutputWalkers null,
  57.         ?array $paginationViaCursor null,
  58.         ?array $order null,
  59.         ?string $description null,
  60.         ?array $normalizationContext null,
  61.         ?array $denormalizationContext null,
  62.         ?string $security null,
  63.         ?string $securityMessage null,
  64.         ?string $securityPostDenormalize null,
  65.         ?string $securityPostDenormalizeMessage null,
  66.         ?string $securityPostValidation null,
  67.         ?string $securityPostValidationMessage null,
  68.         ?string $deprecationReason null,
  69.         ?array $filters null,
  70.         ?array $validationContext null,
  71.         $input null,
  72.         $output null,
  73.         $mercure null,
  74.         $messenger null,
  75.         ?bool $elasticsearch null,
  76.         ?int $urlGenerationStrategy null,
  77.         ?bool $read null,
  78.         ?bool $deserialize null,
  79.         ?bool $validate null,
  80.         ?bool $write null,
  81.         ?bool $serialize null,
  82.         ?bool $fetchPartial null,
  83.         ?bool $forceEager null,
  84.         ?int $priority null,
  85.         ?string $name null,
  86.         $provider null,
  87.         $processor null,
  88.         array $extraProperties = []
  89.     ) {
  90.         parent::__construct(self::METHOD_PUT, ...\func_get_args());
  91.     }
  92. }