public function Psr7RequestValueResolver::resolve in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Controller/ArgumentResolver/Psr7RequestValueResolver.php \Drupal\Core\Controller\ArgumentResolver\Psr7RequestValueResolver::resolve()
- 9 core/lib/Drupal/Core/Controller/ArgumentResolver/Psr7RequestValueResolver.php \Drupal\Core\Controller\ArgumentResolver\Psr7RequestValueResolver::resolve()
File
- core/
lib/ Drupal/ Core/ Controller/ ArgumentResolver/ Psr7RequestValueResolver.php, line 43
Class
- Psr7RequestValueResolver
- Yields a PSR7 request object based on the request object passed along.
Namespace
Drupal\Core\Controller\ArgumentResolverCode
public function resolve(Request $request, ArgumentMetadata $argument) : iterable {
(yield $this->httpMessageFactory
->createRequest($request));
}