public static function StreamWrapper::register in Lockr 7.3
Registers the stream wrapper if needed
1 call to StreamWrapper::register()
- StreamWrapper::getResource in vendor/
guzzlehttp/ psr7/ src/ StreamWrapper.php - Returns a resource representing the stream.
File
- vendor/
guzzlehttp/ psr7/ src/ StreamWrapper.php, line 61
Class
- StreamWrapper
- Converts Guzzle streams into PHP stream resources.
Namespace
GuzzleHttp\Psr7Code
public static function register() {
if (!in_array('guzzle', stream_get_wrappers())) {
stream_wrapper_register('guzzle', __CLASS__);
}
}