mirror of https://github.com/hauke68/Magallanes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
585 B
28 lines
585 B
<?php |
|
namespace Mage\Task\BuiltIn\Composer; |
|
|
|
use Mage\Task\BuiltIn\Composer\ComposerAbstractTask; |
|
use Mage\Task\ErrorWithMessageException; |
|
|
|
class InstallTask extends ComposerAbstractTask |
|
{ |
|
/** |
|
* Returns the Title of the Task |
|
* @return string |
|
*/ |
|
public function getName() |
|
{ |
|
return 'Install vendors via Composer [built-in]'; |
|
} |
|
|
|
/** |
|
* Runs the task |
|
* |
|
* @return boolean |
|
* @throws ErrorWithMessageException |
|
*/ |
|
public function run() |
|
{ |
|
return $this->runCommand($this->getComposerCmd() . ' install'); |
|
} |
|
}
|
|
|