StreamWrapperManagerInterface::getViaUri

public StreamWrapperManagerInterface::getViaUri($uri) Returns a reference to the stream wrapper class responsible for a URI. The scheme determines the stream wrapper class that should be used by consulting the stream wrapper registry. Parameters string $uri: A stream, referenced as "scheme://target". Return value \Drupal\Core\StreamWrapper\StreamWrapperInterface|bool Returns a new stream wrapper object appropriate for the given URI or FALSE if no registered handler could be found. For example

StreamWrapperManagerInterface::getNames

public StreamWrapperManagerInterface::getNames($filter = StreamWrapperInterface::ALL) Returns registered stream wrapper names. Parameters int $filter: (Optional) Filters out all types except those with an on bit for each on bit in $filter. For example, if $filter is StreamWrapperInterface::WRITE_VISIBLE, which is equal to (StreamWrapperInterface::READ | StreamWrapperInterface::WRITE | StreamWrapperInterface::VISIBLE), then only stream wrappers with all three of these bits set are returned. Def

StreamWrapperManagerInterface::getWrappers

public StreamWrapperManagerInterface::getWrappers($filter = StreamWrapperInterface::ALL) Provides Drupal stream wrapper registry. A stream wrapper is an abstraction of a file system that allows Drupal to use the same set of methods to access both local files and remote resources. Provide a facility for managing and querying user-defined stream wrappers in PHP. PHP's internal stream_get_wrappers() doesn't return the class registered to handle a stream, which we need to be able to find the handle

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

StreamWrapperManagerInterface

Provides a StreamWrapper manager. Hierarchy interface \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface See also \Drupal\Core\StreamWrapper\StreamWrapperInterface File core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php, line 10 Namespace Drupal\Core\StreamWrapper Members Name Modifiers Type Description StreamWrapperManagerInterface::getClass public function Returns the stream wrapper class name for a given scheme. StreamWrapperManagerInterface

StreamWrapperManager::unregister

public StreamWrapperManager::unregister() Unregisters the tagged stream wrappers. Internal use only. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php, line 175 Class StreamWrapperManager Provides a StreamWrapper manager. Namespace Drupal\Core\StreamWrapper Code public function unregister() { // Normally, there are definitely wrappers set for the ALL filter. However, // in some cases involving many container rebuilds (e.g. WebTestBase), // $this->wrappers may be

StreamWrapperManagerInterface::getDescriptions

public StreamWrapperManagerInterface::getDescriptions($filter = StreamWrapperInterface::ALL) Returns registered stream wrapper descriptions. Parameters int $filter: (Optional) Filters out all types except those with an on bit for each on bit in $filter. For example, if $filter is StreamWrapperInterface::WRITE_VISIBLE, which is equal to (StreamWrapperInterface::READ | StreamWrapperInterface::WRITE | StreamWrapperInterface::VISIBLE), then only stream wrappers with all three of these bits set are

StreamWrapperManager::getWrapper

protected StreamWrapperManager::getWrapper($scheme, $uri) Returns a stream wrapper instance. Parameters string $scheme: The scheme of the desired stream wrapper. string $uri: The URI of the stream. Return value \Drupal\Core\StreamWrapper\StreamWrapperInterface|bool A stream wrapper object, or false if the scheme is not available. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php, line 129 Class StreamWrapperManager Provides a StreamWrapper manager. Namespace Drupal\Core

StreamWrapperManager::getViaUri

public StreamWrapperManager::getViaUri($uri) Returns a reference to the stream wrapper class responsible for a URI. The scheme determines the stream wrapper class that should be used by consulting the stream wrapper registry. Parameters string $uri: A stream, referenced as "scheme://target". Return value \Drupal\Core\StreamWrapper\StreamWrapperInterface|bool Returns a new stream wrapper object appropriate for the given URI or FALSE if no registered handler could be found. For example, a URI o

StreamWrapperManager::register

public StreamWrapperManager::register() Registers the tagged stream wrappers. Internal use only. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php, line 164 Class StreamWrapperManager Provides a StreamWrapper manager. Namespace Drupal\Core\StreamWrapper Code public function register() { foreach ($this->info as $scheme => $info) { $this->registerWrapper($scheme, $info['class'], $info['type']); } }