You are here

public function ProtectedDirectory::getPath in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/File/ProtectedDirectory.php \Drupal\Core\File\ProtectedDirectory::getPath()

Gets the directory path.

Return value

string The directory path.

File

core/lib/Drupal/Core/File/ProtectedDirectory.php, line 63

Class

ProtectedDirectory
A value object representing a protected directory.

Namespace

Drupal\Core\File

Code

public function getPath() {
  return $this->path;
}