Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($extraTypes=[]) | |
getDriver ($code) | |
Data Fields | |
const | FILE = 'file' |
const | HTTP = 'http' |
const | HTTPS = 'https' |
const | ZLIB = 'compress.zlib' |
Protected Attributes | |
$types | |
A pool of stream wrappers
Definition at line 12 of file DriverPool.php.
__construct | ( | $extraTypes = [] | ) |
Obtain extra types in constructor
array | $extraTypes |
Definition at line 44 of file DriverPool.php.
getDriver | ( | $code | ) |
Gets a driver instance by code
string | $code |
Definition at line 70 of file DriverPool.php.
|
protected |
#- #-
Definition at line 24 of file DriverPool.php.
const FILE = 'file' |
#+ Available driver types
Definition at line 17 of file DriverPool.php.
const HTTP = 'http' |
Definition at line 18 of file DriverPool.php.
const HTTPS = 'https' |
Definition at line 19 of file DriverPool.php.
const ZLIB = 'compress.zlib' |
Definition at line 20 of file DriverPool.php.