PHP Class HippoPHP\Hippo\HippoTextUIContext

See also: HippoTextUI
Show file Open project: hippophp/hippo Class Usage Examples

Public Methods

Method Description
__construct ( FileSystem $fileSystem, array $args )
getAction ( ) : integer
getConfigName ( ) : string
getPathsToCheck ( ) : string[]
getReporters ( ) : HippoPHP\Hippo\Reporters\ReporterInterface[]
hasStrictModeEnabled ( ) : boolean

Private Methods

Method Description
buildArgMappings ( ) : array
createArgMapping ( callable $action, array $arguments )
handleConfigArgument ( $argValue )
handleHelpArgument ( )
handleLogArgument ( $argValue )
handleQuietArgument ( $argValue )
handleStrictArgument ( $argValue )
handleVerboseArgument ( $argValue )
handleVersionArgument ( )
handleXmlReportArgument ( $argValue )
processArgContainer ( ArgContainer $argContainer )

Method Details

__construct() public method

public __construct ( FileSystem $fileSystem, array $args )
$fileSystem FileSystem
$args array

getAction() public method

public getAction ( ) : integer
return integer

getConfigName() public method

public getConfigName ( ) : string
return string

getPathsToCheck() public method

public getPathsToCheck ( ) : string[]
return string[]

getReporters() public method

public getReporters ( ) : HippoPHP\Hippo\Reporters\ReporterInterface[]
return HippoPHP\Hippo\Reporters\ReporterInterface[]

hasStrictModeEnabled() public method

public hasStrictModeEnabled ( ) : boolean
return boolean