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

Breadcrumb

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

function Path::isRelative

Same name in this branch
  1. 11.1.x vendor/php-tuf/composer-stager/src/Internal/Path/Value/Path.php \PhpTuf\ComposerStager\Internal\Path\Value\Path::isRelative()
1 call to Path::isRelative()
PathHelper::isRelative in vendor/php-tuf/composer-stager/src/Internal/Path/Service/PathHelper.php

File

vendor/symfony/filesystem/Path.php, line 395

Class

Path
Contains utility methods for handling path strings.

Namespace

Symfony\Component\Filesystem

Code

public static function isRelative(string $path) : bool {
    return !self::isAbsolute($path);
}

API Navigation

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