private function LocalStream::getFileSystem in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getFileSystem()
- 9 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getFileSystem()
Returns file system service.
Return value
\Drupal\Core\File\FileSystemInterface The file system service.
File
- core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php, line 428
Class
- LocalStream
- Defines a Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapperCode
private function getFileSystem() {
return \Drupal::service('file_system');
}