You are here

private function LocalStream::getFileSystem in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getFileSystem()
  2. 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\StreamWrapper

Code

private function getFileSystem() {
  return \Drupal::service('file_system');
}