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

Breadcrumb

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

function Url::__construct

Same name in this branch
  1. 11.1.x vendor/symfony/validator/Constraints/Url.php \Symfony\Component\Validator\Constraints\Url::__construct()
  2. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Url.php \phpDocumentor\Reflection\DocBlock\Tags\Reference\Url::__construct()
  3. 11.1.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::__construct()

File

vendor/phar-io/manifest/src/values/Url.php, line 20

Class

Url

Namespace

PharIo\Manifest

Code

public function __construct(string $url) {
    $this->ensureUrlIsValid($url);
    $this->url = $url;
}

API Navigation

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