You are here

public function ProtectedDirectory::getPath in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/File/ProtectedDirectory.php \Drupal\Core\File\ProtectedDirectory::getPath()
  2. 10 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;
}