public static function Blazy::streamWrapperManager in Blazy 8.2
Returns a wrapper to pass tests, or DI where adding params is troublesome.
1 call to Blazy::streamWrapperManager()
- BlazyUtil::isValidUri in src/
BlazyUtil.php - Determines whether the URI has a valid scheme for file API operations.
File
- src/
Blazy.php, line 475
Class
- Blazy
- Provides common blazy utility static methods.
Namespace
Drupal\blazyCode
public static function streamWrapperManager() {
return \Drupal::hasService('stream_wrapper_manager') ? \Drupal::service('stream_wrapper_manager') : NULL;
}