function StreamWrapperManager::getClass
Returns the stream wrapper class name for a given scheme.
Parameters
string $scheme: Stream scheme.
Return value
string|false Return string if a scheme has a registered handler, or FALSE.
Overrides StreamWrapperManagerInterface::getClass
2 calls to StreamWrapperManager::getClass()
- StreamWrapperManager::isValidScheme in core/lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperManager.php 
- StreamWrapperManager::normalizeUri in core/lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperManager.php 
- Normalizes a URI by making it syntactically correct.
File
- 
              core/lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperManager.php, line 118 
Class
- StreamWrapperManager
- Provides a StreamWrapper manager.
Namespace
Drupal\Core\StreamWrapperCode
public function getClass($scheme) {
  if (isset($this->info[$scheme])) {
    return $this->info[$scheme]['class'];
  }
  return FALSE;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
