PHP Class GrumPHP\Configuration\GrumPHP

Show file Open project: phpro/grumphp Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
getAsciiContentPath ( $resource ) : string | null Get ascii content path from grumphp.yml file
getBinDir ( ) : string
getGitDir ( ) : string
getHooksDir ( ) : string
getHooksPreset ( ) : string
getProcessAsyncLimit ( ) : integer
getProcessAsyncWaitTime ( ) : integer
getProcessTimeout ( ) : float | null
getRegisteredTasks ( ) : array
getTaskConfiguration ( string $taskName ) : array
getTaskMetadata ( $taskName ) : array
ignoreUnstagedChanges ( ) : boolean
isBlockingTask ( string $taskName ) : boolean
stopOnFailure ( ) : boolean

Method Details

__construct() public method

public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
$container Symfony\Component\DependencyInjection\ContainerInterface

getAsciiContentPath() public method

Get ascii content path from grumphp.yml file
public getAsciiContentPath ( $resource ) : string | null
$resource
return string | null

getBinDir() public method

public getBinDir ( ) : string
return string

getGitDir() public method

public getGitDir ( ) : string
return string

getHooksDir() public method

public getHooksDir ( ) : string
return string

getHooksPreset() public method

public getHooksPreset ( ) : string
return string

getProcessAsyncLimit() public method

public getProcessAsyncLimit ( ) : integer
return integer

getProcessAsyncWaitTime() public method

getProcessTimeout() public method

public getProcessTimeout ( ) : float | null
return float | null

getRegisteredTasks() public method

public getRegisteredTasks ( ) : array
return array

getTaskConfiguration() public method

public getTaskConfiguration ( string $taskName ) : array
$taskName string
return array

getTaskMetadata() public method

public getTaskMetadata ( $taskName ) : array
$taskName
return array

ignoreUnstagedChanges() public method

public ignoreUnstagedChanges ( ) : boolean
return boolean

isBlockingTask() public method

public isBlockingTask ( string $taskName ) : boolean
$taskName string
return boolean

stopOnFailure() public method

public stopOnFailure ( ) : boolean
return boolean