use Drupal\Core\StreamWrapper\StreamWrapperManager;
/**
* The Stream Wrapper Manager.
*/
protected StreamWrapperManager $streamWrapperManager;
/**
* {@inheritdoc}
*/
public function __construct(StreamWrapperManager $stream_wrapper_manager) {
$this->streamWrapperManager = $stream_wrapper_manager;
}
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new self(
$container->get('stream_wrapper_manager'),
);
}