PHP Class ZF2rapid\Task\Tool\Configuration

Inheritance: extends ZFrapidCore\Task\AbstractTask
Show file Open project: zfrapid/zf2rapid

Public Methods

Method Description
processCommandTask ( ) : integer

Protected Methods

Method Description
changeConfiguration ( $paramKey, $paramValue )
checkMode ( $mode ) : boolean Check mode
checkUnknownKey ( $paramKey ) : boolean Check for unknown configuration key
checkValueForFlagKey ( $paramKey, $paramValue ) : boolean Check if the value for a flag configuration key is true or false
checkValueForNamespaceKey ( $paramKey, $paramValue ) : boolean Check if the value for a namespace configuration key is true or false
displayConfiguration ( $paramKey = null ) Display the current configuration

Method Details

changeConfiguration() protected method

protected changeConfiguration ( $paramKey, $paramValue )
$paramKey
$paramValue

checkMode() protected method

Check mode
protected checkMode ( $mode ) : boolean
$mode
return boolean

checkUnknownKey() protected method

Check for unknown configuration key
protected checkUnknownKey ( $paramKey ) : boolean
$paramKey
return boolean

checkValueForFlagKey() protected method

Check if the value for a flag configuration key is true or false
protected checkValueForFlagKey ( $paramKey, $paramValue ) : boolean
$paramKey
$paramValue
return boolean

checkValueForNamespaceKey() protected method

Check if the value for a namespace configuration key is true or false
protected checkValueForNamespaceKey ( $paramKey, $paramValue ) : boolean
$paramKey
$paramValue
return boolean

displayConfiguration() protected method

Display the current configuration
protected displayConfiguration ( $paramKey = null )
$paramKey

processCommandTask() public method

public processCommandTask ( ) : integer
return integer