You are here

protected function FlysystemBridge::getFilesystem in Flysystem 7

Same name and namespace in other branches
  1. 8 src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::getFilesystem()
  2. 3.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::getFilesystem()
  3. 2.0.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::getFilesystem()
  4. 3.0.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::getFilesystem()

File

src/FlysystemBridge.php, line 98
Contains \Drupal\flysystem\FlysystemBridge.

Class

FlysystemBridge
An adapter for Flysystem to \DrupalStreamWrapperInterface.

Namespace

Drupal\flysystem

Code

protected function getFilesystem() {
  if (!isset($this->filesystem)) {
    $this->filesystem = $this
      ->getFilesystemForScheme($this
      ->getProtocol());
  }
  return $this->filesystem;
}