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

Breadcrumb

  1. Drupal Core 11.1.x

RequestFactoryInterface.php

Namespace

Psr\Http\Message

File

vendor/psr/http-factory/src/RequestFactoryInterface.php

View source
<?php

namespace Psr\Http\Message;

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;

}

Interfaces

Title Deprecated Summary
RequestFactoryInterface

API Navigation

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