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

Breadcrumb

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

function SplFileInfo::getRelativePath

Returns the relative path.

This path does not contain the file name.

Overrides SplFileInfo::getRelativePath

1 method overrides SplFileInfo::getRelativePath()
SplFileInfo::getRelativePath in vendor/symfony/finder/SplFileInfo.php
Returns the relative path.

File

vendor/symfony/finder/SplFileInfo.php, line 39

Class

SplFileInfo
Extends \SplFileInfo to support relative paths.

Namespace

Symfony\Component\Finder

Code

public function getRelativePath() : string {
    return $this->relativePath;
}

API Navigation

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