StreamWrapperManager::$wrappers

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php \Drupal\Core\StreamWrapper\StreamWrapperManager::wrappers
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php \Drupal\Core\StreamWrapper\StreamWrapperManager::wrappers
  3. 11.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php \Drupal\Core\StreamWrapper\StreamWrapperManager::wrappers

Contains collected stream wrappers.

Keyed by filter, each value is itself an associative array keyed by scheme. Each of those values is an array representing a stream wrapper, with the following keys and values:

  • class: stream wrapper class name
  • type: a bitmask corresponding to the type constants in StreamWrapperInterface
  • service_id: name of service

The array on key StreamWrapperInterface::ALL contains representations of all schemes and corresponding wrappers.

Type: array

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php, line 52

Class

StreamWrapperManager
Provides a StreamWrapper manager.

Namespace

Drupal\Core\StreamWrapper

Code

protected $wrappers = [];

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