You are here

protected function FlysystemBridge::getFactory in Flysystem 8

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

Returns the filesystem factory.

Return value

\Drupal\flysystem\FlysystemFactory The Flysystem factory.

File

src/FlysystemBridge.php, line 127

Class

FlysystemBridge
An adapter for Flysystem to StreamWrapperInterface.

Namespace

Drupal\flysystem

Code

protected function getFactory() {
  return \Drupal::service('flysystem_factory');
}