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

Breadcrumb

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

interface RequestFactoryInterface

Hierarchy

  • interface \Psr\Http\Message\RequestFactoryInterface

Expanded class hierarchy of RequestFactoryInterface

All classes that implement RequestFactoryInterface

13 files declare their use of RequestFactoryInterface
CommonClassesStrategy.php in vendor/php-http/discovery/src/Strategy/CommonClassesStrategy.php
CommonPsr17ClassesStrategy.php in vendor/php-http/discovery/src/Strategy/CommonPsr17ClassesStrategy.php
DependencyResolver.php in vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/DependencyResolver.php
FactoryResolverInterface.php in vendor/open-telemetry/sdk/Common/Http/Psr/Message/FactoryResolverInterface.php
HttpFactory.php in vendor/guzzlehttp/psr7/src/HttpFactory.php

... See full list

File

vendor/psr/http-factory/src/RequestFactoryInterface.php, line 5

Namespace

Psr\Http\Message
View source
interface RequestFactoryInterface {
    
    /**
     * Create a new request.
     *
     * @param string $method The HTTP method associated with the request.
     * @param UriInterface|string $uri The URI associated with the request. If
     *     the value is a string, the factory MUST create a UriInterface
     *     instance based on it.
     *
     * @return RequestInterface
     */
    public function createRequest(string $method, $uri) : RequestInterface;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
RequestFactoryInterface::createRequest public function Create a new request. 2

API Navigation

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