PHP Class Magestead\Helper\Config

Show file Open project: richdynamix/magestead

Protected Properties

Property Type Description
$_config
$_projectPath

Public Methods

Method Description
__construct ( Symfony\Component\Console\Output\OutputInterface $output ) Config constructor.
__get ( $name ) : mixed
getComposerHomeDir ( ) : string Find the composer home directory on non Mac environments (experimental)

Protected Methods

Method Description
getConfigFile ( Symfony\Component\Console\Output\OutputInterface $output ) : boolean | mixed
readConfigFile ( ) : string

Method Details

__construct() public method

Config constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

__get() public method

public __get ( $name ) : mixed
$name
return mixed

getComposerHomeDir() public method

Find the composer home directory on non Mac environments (experimental)
public getComposerHomeDir ( ) : string
return string

getConfigFile() protected method

protected getConfigFile ( Symfony\Component\Console\Output\OutputInterface $output ) : boolean | mixed
$output Symfony\Component\Console\Output\OutputInterface
return boolean | mixed

readConfigFile() protected method

protected readConfigFile ( ) : string
return string

Property Details

$_config protected property

protected $_config

$_projectPath protected property

protected $_projectPath