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

Breadcrumb

  1. Drupal Core 11.1.x
  2. ValueResolver.php

class ValueResolver

Defines which value resolver should be used for a given parameter.

Hierarchy

  • class \Symfony\Component\HttpKernel\Attribute\ValueResolver

Expanded class hierarchy of ValueResolver

1 file declares its use of ValueResolver
ArgumentResolver.php in vendor/symfony/http-kernel/Controller/ArgumentResolver.php

File

vendor/symfony/http-kernel/Attribute/ValueResolver.php, line 19

Namespace

Symfony\Component\HttpKernel\Attribute
View source
class ValueResolver {
    
    /**
     * @param class-string<ValueResolverInterface>|string $resolver The class name of the resolver to use
     * @param bool                                        $disabled Whether this value resolver is disabled; this allows to enable a value resolver globally while disabling it in specific cases
     */
    public function __construct(string $resolver, bool $disabled = false) {
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ValueResolver::__construct public function 5

API Navigation

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