public function StreamWrapperManager::getClass
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 107
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!StreamWrapperManager.php/function/StreamWrapperManager::getClass/8.1.x