You are here

public function FlysystemFactory::getSchemes in Flysystem 8

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

Returns a list of valid schemes.

Return value

string[] The list of valid schemes.

1 call to FlysystemFactory::getSchemes()
FlysystemFactory::ensure in src/FlysystemFactory.php
Calls FlysystemPluginInterface::ensure() on each plugin.

File

src/FlysystemFactory.php, line 151

Class

FlysystemFactory
A factory for Flysystem filesystems.

Namespace

Drupal\flysystem

Code

public function getSchemes() {
  return array_keys($this->settings);
}