Composer Task Run composer straight from phing
Use \Project#createTask to register a new Task.
author |
nuno costa nuno@francodacosta.com |
---|---|
license |
MIT |
version |
$Id: 4dc0098e06183c52f5b3809e596b63929860ac9a $ |
package |
phing.tasks.ext |
__construct()
getCommand() : String
String
getComposer() : string
string
getDescription() : string
string
The text description of the task
getLocation() : \Location
getOwningTarget() : \Target
getPhp() : string
string
getProject() : \Project
getRegisterSlot(string $slotName)
string
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws | |
---|---|
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
maybeConfigure()
perform()
prepareCommandLine() : string
string
setCommand(string $command)
string
setComposer(string $console)
string
setDescription(string $desc)
string
The text describing the task
setLocation(\Location $location)
setOwningTarget(\Target $target)
setPhp(string $php)
string
setProject(\Project $project)
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
php : string
var |
the path to php interperter |
---|
string
command : string
var |
the Composer command to execute |
---|
string
composer : string
var |
path to Composer application |
---|
string
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project