You are here

public function Missing::getAdapter in Flysystem 7

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

Returns the Flysystem adapter

Return value

\League\Flysystem\AdapterInterface The Flsysytem adapter.

Overrides FlysystemPluginInterface::getAdapter

File

src/Flysystem/Missing.php, line 21
Contains \Drupal\flysystem\Flysystem\Missing.

Class

Missing
Drupal plugin for the "MissingAdapter" Flysystem adapter.

Namespace

Drupal\flysystem\Flysystem

Code

public function getAdapter() {
  return new MissingAdapter();
}