public StreamWrapperManager::getClass($scheme)
Returns the stream wrapper class name for a given scheme.
Parameters
string $scheme: Stream scheme.
Return value
string|bool Return string if a scheme has a registered handler, or FALSE.
Overrides StreamWrapperManagerInterface::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; }
Please login to continue.