Static Public Member Functions |
| static | load ($path, $force=FALSE) |
Detailed Description
This class is used to configure the Squeeze packager. You can either use a yaml file or a plain PHP array.
Constructor & Destructor Documentation
| __construct |
( |
|
$conf = array(), |
|
|
|
$path = NULL |
|
) |
| |
Create an instance of this class by using a plain PHP array.
- Parameters
-
| array | $conf | an array containing the configuration settings |
| string | $path | the path to the config file that was used (NULL if instantiated via constructor) |
Member Function Documentation
| static load |
( |
|
$path, |
|
|
|
$force = FALSE |
|
) |
| |
|
static |
Create a configuration object by parsing a yaml file. The result of the parser is cached for 10 seconds. You can force an uncached parsing by setting the 2nd param to true.
- Parameters
-
| string | $path | the file to parse |
| bool | $force | cache unless TRUE |
- Returns
- Configuration an instance of this class
| offsetSet |
( |
|
$offset, |
|
|
|
$value |
|
) |
| |
The documentation for this class was generated from the following file: