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

Breadcrumb

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

function UriFactoryInterface::createUri

Create a new URI.

Parameters

string $uri:

Return value

UriInterface

Throws

\InvalidArgumentException If the given URI cannot be parsed.

2 methods override UriFactoryInterface::createUri()
HttpFactory::createUri in vendor/guzzlehttp/psr7/src/HttpFactory.php
Create a new URI.
Psr17Factory::createUri in vendor/php-http/discovery/src/Psr17Factory.php
Create a new URI.

File

vendor/psr/http-factory/src/UriFactoryInterface.php, line 16

Class

UriFactoryInterface

Namespace

Psr\Http\Message

Code

public function createUri(string $uri = '') : UriInterface;

API Navigation

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