PHP Class Horde_Vfs, horde

Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Chuck Hagenbuch ([email protected])
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
factory ( mixed $driver, array $params = [] ) : VFS Attempts to return a concrete instance based on $driver.

Method Details

factory() public static method

Attempts to return a concrete instance based on $driver.
Deprecation:
public static factory ( mixed $driver, array $params = [] ) : VFS
$driver mixed The type of concrete subclass to return. This is based on the storage driver ($driver). The code is dynamically included.
$params array A hash containing any additional configuration or connection parameters a subclass might need.
return VFS The newly created concrete VFS instance.