PHP Class Pipe\Config

Config object is responsible for storing all the configuration used to setup a connection to the database, as well as a few helpers.
Author: Robert Crowe ([email protected])
Mostrar archivo Open project: chh/pipe Class Usage Examples

Public Properties

Property Type Description
$cssCompressor
$debug
$filename
$jsCompressor
$loadPaths
$precompile
$precompilePrefix

Public Methods

Method Description
__construct ( $values = [], $filename = null )
createEnvironment ( ) # Returns a new Environment instance.
fromYaml ( $file ) # Returns a new Config object.

Method Details

__construct() public method

public __construct ( $values = [], $filename = null )

createEnvironment() public method

# Returns a new Environment instance.
public createEnvironment ( )

fromYaml() static public method

# Returns a new Config object.
static public fromYaml ( $file )

Property Details

$cssCompressor public_oe property

public $cssCompressor

$debug public_oe property

public $debug

$filename public_oe property

public $filename

$jsCompressor public_oe property

public $jsCompressor

$loadPaths public_oe property

public $loadPaths

$precompile public_oe property

public $precompile

$precompilePrefix public_oe property

public $precompilePrefix