PHP Class Bob\Application

Inheritance: extends Pimple
Afficher le fichier Open project: chh/bob Class Usage Examples

Méthodes publiques

Свойство Type Description
$env # Public: Contains mappings from task name to a task instance.
$forceRun # Public: Contains mappings from task name to a task instance.
$loadedConfigs # Public: Contains mappings from task name to a task instance.
$originalDirectory # Public: Contains mappings from task name to a task instance.
$projectDirectory # Public: Contains mappings from task name to a task instance.
$trace # Public: Contains mappings from task name to a task instance.

Protected Properties

Свойство Type Description
$taskLibraries

Méthodes publiques

Méthode Description
__construct ( ) # Public: Initialize the application.
defineTask ( $task )
execute ( $tasks )
fileTask ( $target, $prerequisites, $action )
init ( )
register ( bob\TaskLibraryInterface $taskLib, array $parameters = [] )
task ( $name, $prerequisites = null, $action = null )
taskDefined ( $task )

Méthodes protégées

Méthode Description
loadConfig ( ) # Returns nothing.
loadConfigFile ( $file ) # Load config file in its own scope
prepareEnv ( )

Method Details

__construct() public méthode

# Public: Initialize the application.
public __construct ( )

defineTask() public méthode

public defineTask ( $task )

execute() public méthode

public execute ( $tasks )

fileTask() public méthode

public fileTask ( $target, $prerequisites, $action )

init() public méthode

public init ( )

loadConfig() protected méthode

# Returns nothing.
protected loadConfig ( )

loadConfigFile() protected méthode

# Load config file in its own scope
protected loadConfigFile ( $file )

prepareEnv() protected méthode

protected prepareEnv ( )

register() public méthode

public register ( bob\TaskLibraryInterface $taskLib, array $parameters = [] )
$taskLib bob\TaskLibraryInterface
$parameters array

task() public méthode

public task ( $name, $prerequisites = null, $action = null )

taskDefined() public méthode

public taskDefined ( $task )

Property Details

$env public_oe property

# Public: Contains mappings from task name to a task instance.
public $env

$forceRun public_oe property

# Public: Contains mappings from task name to a task instance.
public $forceRun

$loadedConfigs public_oe property

# Public: Contains mappings from task name to a task instance.
public $loadedConfigs

$originalDirectory public_oe property

# Public: Contains mappings from task name to a task instance.
public $originalDirectory

$projectDirectory public_oe property

# Public: Contains mappings from task name to a task instance.
public $projectDirectory

$taskLibraries protected_oe property

protected $taskLibraries

$trace public_oe property

# Public: Contains mappings from task name to a task instance.
public $trace