You are here

protected property StreamWrapperManager::$wrappers in Drupal 9

Same name and namespace in other branches
  1. 8 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 44

Class

StreamWrapperManager
Provides a StreamWrapper manager.

Namespace

Drupal\Core\StreamWrapper

Code

protected $wrappers = [];