public function ProtectedDirectory::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/File/ProtectedDirectory.php \Drupal\Core\File\ProtectedDirectory::__construct()
ProtectedDirectory constructor.
Parameters
string $title: The directory title.
string $path: The path to the directory.
bool $private: (optional) Whether the directory is private or public (default).
File
- core/
lib/ Drupal/ Core/ File/ ProtectedDirectory.php, line 41
Class
- ProtectedDirectory
- A value object representing a protected directory.
Namespace
Drupal\Core\FileCode
public function __construct($title, $path, $private = FALSE) {
$this->title = $title;
$this->path = $path;
$this->private = $private;
}