PHP Class Phrozn\Provider\Base

Author: Victor Farazdagi
Inheritance: implements Phrozn\Provider
Mostra file Open project: farazdagi/phrozn

Public Methods

Method Description
__construct ( array $options = null ) : void Init provider
getConfig ( ) : array Get provider configuration
getProjectPath ( ) : string Get project path.
setConfig ( array $options ) : Phrozn\Provider Setup provider
setProjectPath ( string $path ) : Phrozn\Has\ProjectPath Set project path.

Method Details

__construct() public method

Init provider
public __construct ( array $options = null ) : void
$options array Config options
return void

getConfig() public method

Get provider configuration
public getConfig ( ) : array
return array

getProjectPath() public method

Get project path.
public getProjectPath ( ) : string
return string

setConfig() public method

Setup provider
public setConfig ( array $options ) : Phrozn\Provider
$options array Options to pass to provider
return Phrozn\Provider

setProjectPath() public method

Set project path.
public setProjectPath ( string $path ) : Phrozn\Has\ProjectPath
$path string Project path.
return Phrozn\Has\ProjectPath