You are here

public function StreamWrapperManager::getClass in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php \Drupal\Core\StreamWrapper\StreamWrapperManager::getClass()
  2. 9 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php \Drupal\Core\StreamWrapper\StreamWrapperManager::getClass()

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php, line 110

Class

StreamWrapperManager
Provides a StreamWrapper manager.

Namespace

Drupal\Core\StreamWrapper

Code

public function getClass($scheme) {
  if (isset($this->info[$scheme])) {
    return $this->info[$scheme]['class'];
  }
  return FALSE;
}