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
string
Name of this task
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
getTaskType() : string
string
The type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
setDescription(string $desc)
string
The text describing the task
getDescription() : string
string
The 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