PHP Class Bob\Task

显示文件 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_oe property

public $actions

$application public_oe property

public $application

$description public_oe property

public $description

$enable public_oe property

public $enable

$name public_oe property

public $name

$prerequisites public_oe property

public $prerequisites

$reenable protected_oe property

protected $reenable