PHP Class Bob\Task

Show file Open project: chh/bob Class Usage Examples

Public Properties

Property Type Description
$actions
$application
$description
$enable
$name
$prerequisites

Protected Properties

Property Type Description
$reenable

Public Methods

Method Description
__construct ( $name, $application ) # application - The application object, to which this task belongs to.
__toString ( )
clear ( ) # Returns nothing.
enhance ( $deps = null, $action = null )
execute ( ) # Returns nothing.
getTaskPrerequisites ( )
inspect ( )
invoke ( ) # Returns the callback's return value.
isNeeded ( ) # Returns TRUE if the task should be run, FALSE otherwise.
reenable ( )

Method Details

__construct() public method

# application - The application object, to which this task belongs to.
public __construct ( $name, $application )

__toString() public method

public __toString ( )

clear() public method

# Returns nothing.
public clear ( )

enhance() public method

public enhance ( $deps = null, $action = null )

execute() public method

# Returns nothing.
public execute ( )

getTaskPrerequisites() public method

inspect() public method

public inspect ( )

invoke() public method

# Returns the callback's return value.
public invoke ( )

isNeeded() public method

# Returns TRUE if the task should be run, FALSE otherwise.
public isNeeded ( )

reenable() public method

public reenable ( )

Property Details

$actions public property

public $actions

$application public property

public $application

$description public property

public $description

$enable public property

public $enable

$name public property

public $name

$prerequisites public property

public $prerequisites

$reenable protected property

protected $reenable