You are here

class MissingAdapter in Flysystem 7

Same name and namespace in other branches
  1. 8 src/Flysystem/Adapter/MissingAdapter.php \Drupal\flysystem\Flysystem\Adapter\MissingAdapter
  2. 3.x src/Flysystem/Adapter/MissingAdapter.php \Drupal\flysystem\Flysystem\Adapter\MissingAdapter
  3. 2.0.x src/Flysystem/Adapter/MissingAdapter.php \Drupal\flysystem\Flysystem\Adapter\MissingAdapter
  4. 3.0.x src/Flysystem/Adapter/MissingAdapter.php \Drupal\flysystem\Flysystem\Adapter\MissingAdapter

An adapter used when a plugin is missing. It fails at everything.

Hierarchy

  • class \Drupal\flysystem\Flysystem\Adapter\MissingAdapter implements \League\Flysystem\AdapterInterface

Expanded class hierarchy of MissingAdapter

3 files declare their use of MissingAdapter
Ftp.php in src/Flysystem/Ftp.php
Contains \Drupal\flysystem\Flysystem\Ftp.
Local.php in src/Flysystem/Local.php
Contains \Drupal\flysystem\Flysystem\Local.
Missing.php in src/Flysystem/Missing.php
Contains \Drupal\flysystem\Flysystem\Missing.

File

src/Flysystem/Adapter/MissingAdapter.php, line 16
Contains \Drupal\flysystem\Flysystem\Adapter\MissingAdapter.

Namespace

Drupal\flysystem\Flysystem\Adapter
View source
class MissingAdapter implements AdapterInterface {

  /**
   * {@inheritdoc}
   */
  public function copy($path, $newpath) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function createDir($dirname, Config $config) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function delete($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function deleteDir($dirname) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function listContents($directory = '', $recursive = FALSE) {
    return array();
  }

  /**
   * {@inheritdoc}
   */
  public function getMetadata($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function getMimetype($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function getSize($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function getTimestamp($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function getVisibility($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function has($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function setVisibility($path, $visibility) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function update($path, $contents, Config $config) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function updateStream($path, $resource, Config $config) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function read($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function readStream($path) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function rename($path, $newpath) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function write($path, $contents, Config $config) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function writeStream($path, $resource, Config $config) {
    return FALSE;
  }

}

Members