class RawParameterValueResolver

Exists to prevent problems with updating core using Drush 8.

Hierarchy

  • class \Drupal\Core\Controller\ArgumentResolver\RawParameterValueResolver implements \Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface

Expanded class hierarchy of RawParameterValueResolver

Deprecated

in Drupal 8.8.1 and will be removed before Drupal 9.0.0. There is no replacement.

1 file declares its use of RawParameterValueResolver
ControllerResolverTest.php in core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
Contains \Drupal\Tests\Core\Controller\ControllerResolverTest.

File

core/lib/Drupal/Core/Controller/ArgumentResolver/RawParameterValueResolver.php, line 17

Namespace

Drupal\Core\Controller\ArgumentResolver
View source
final class RawParameterValueResolver implements ArgumentValueResolverInterface {
    
    /**
     * {@inheritdoc}
     */
    public function supports(Request $request, ArgumentMetadata $argument) {
        return FALSE;
    }
    
    /**
     * {@inheritdoc}
     */
    public function resolve(Request $request, ArgumentMetadata $argument) {
        // This will never be called as self::supports() returns FALSE.
    }

}

Members

Title Sort descending Modifiers Object type Summary
RawParameterValueResolver::resolve public function
RawParameterValueResolver::supports public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.