PHP 클래스 Bob\Application

상속: extends Pimple
파일 보기 프로젝트 열기: chh/bob 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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.

보호된 프로퍼티들

프로퍼티 타입 설명
$taskLibraries

공개 메소드들

메소드 설명
__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 )

보호된 메소드들

메소드 설명
loadConfig ( ) # Returns nothing.
loadConfigFile ( $file ) # Load config file in its own scope
prepareEnv ( )

메소드 상세

__construct() 공개 메소드

# Public: Initialize the application.
public __construct ( )

defineTask() 공개 메소드

public defineTask ( $task )

execute() 공개 메소드

public execute ( $tasks )

fileTask() 공개 메소드

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

init() 공개 메소드

public init ( )

loadConfig() 보호된 메소드

# Returns nothing.
protected loadConfig ( )

loadConfigFile() 보호된 메소드

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

prepareEnv() 보호된 메소드

protected prepareEnv ( )

register() 공개 메소드

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

task() 공개 메소드

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

taskDefined() 공개 메소드

public taskDefined ( $task )

프로퍼티 상세

$env 공개적으로 프로퍼티

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

$forceRun 공개적으로 프로퍼티

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

$loadedConfigs 공개적으로 프로퍼티

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

$originalDirectory 공개적으로 프로퍼티

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

$projectDirectory 공개적으로 프로퍼티

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

$taskLibraries 보호되어 있는 프로퍼티

protected $taskLibraries

$trace 공개적으로 프로퍼티

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