PHP Класс Bob\Application

Наследование: extends Pimple
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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)

Свойство Тип Описание
$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