function StreamWrapperManagerInterface::getClass

Same name in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getClass()
  2. 10 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getClass()
  3. 11.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getClass()

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.

1 method overrides StreamWrapperManagerInterface::getClass()
StreamWrapperManager::getClass in core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php
Returns the stream wrapper class name for a given scheme.

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.