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