W3cubDocs

/Drupal 8

public function StreamWrapperManagerInterface::getClass

public StreamWrapperManagerInterface::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.

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php, line 158

Class

StreamWrapperManagerInterface
Provides a StreamWrapper manager.

Namespace

Drupal\Core\StreamWrapper

Code

public function getClass($scheme);

© 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!StreamWrapperManagerInterface.php/function/StreamWrapperManagerInterface::getClass/8.1.x