You are here

class Adapter in Flysystem 8

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

Defines a Flysystem adapter plguin.

Plugin Namespace: Flysystem

For a working example, see \Drupal\flysystem\Flysystem\Local.

Hierarchy

Expanded class hierarchy of Adapter

See also

Plugin API

3 classes are annotated with Adapter
Ftp in src/Flysystem/Ftp.php
Drupal plugin for the "FTP" Flysystem adapter.
Local in src/Flysystem/Local.php
Drupal plugin for the "Local" Flysystem adapter.
Missing in src/Flysystem/Missing.php
Drupal plugin for the "NullAdapter" Flysystem adapter.

File

src/Annotation/Adapter.php, line 18

Namespace

Drupal\flysystem\Annotation
View source
class Adapter extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * A list of extension dependencies.
   *
   * @var string[]
   */
  public $extensions = [];

}

Members

Namesort descending Modifiers Type Description Overrides
Adapter::$extensions public property A list of extension dependencies.
Adapter::$id public property The plugin ID.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2