Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

namespace Symfony\Component\HttpKernel\Attribute

Object name File name Summary
AsController vendor/symfony/http-kernel/Attribute/AsController.php Autoconfigures controllers as services by applying
the `controller.service_arguments` tag to them.
AsTargetedValueResolver vendor/symfony/http-kernel/Attribute/AsTargetedValueResolver.php Service tag to autoconfigure targeted value resolvers.
Cache vendor/symfony/http-kernel/Attribute/Cache.php Describes the default HTTP cache headers on controllers.
Headers defined in the Cache attribute are ignored if they are already set
by the controller.
MapDateTime vendor/symfony/http-kernel/Attribute/MapDateTime.php Controller parameter tag to configure DateTime arguments.
MapQueryParameter vendor/symfony/http-kernel/Attribute/MapQueryParameter.php Can be used to pass a query parameter to a controller argument.
MapQueryString vendor/symfony/http-kernel/Attribute/MapQueryString.php Controller parameter tag to map the query string of the request to typed object and validate it.
MapRequestPayload vendor/symfony/http-kernel/Attribute/MapRequestPayload.php Controller parameter tag to map the request content to typed object and validate it.
MapUploadedFile vendor/symfony/http-kernel/Attribute/MapUploadedFile.php
ValueResolver vendor/symfony/http-kernel/Attribute/ValueResolver.php Defines which value resolver should be used for a given parameter.
WithHttpStatus vendor/symfony/http-kernel/Attribute/WithHttpStatus.php Defines the HTTP status code applied to an exception.
WithLogLevel vendor/symfony/http-kernel/Attribute/WithLogLevel.php Defines the log level applied to an exception.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal