QUOTA_METRIC_BYTE
QUOTA_METRIC_BYTE
VFS API for abstracted file storage and access.
Copyright 2002-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
factory(mixed $driver, array $params = array()) : \VFS
Attempts to return a concrete instance based on $driver.
mixed | $driver | The type of concrete subclass to return. This is based on the storage driver ($driver). The code is dynamically included. |
array | $params | A hash containing any additional configuration or connection parameters a subclass might need. |
The newly created concrete VFS instance.