TYPO3\Surf\Task\Composer\DownloadTask

class DownloadTask

Downloads Composer into the current releasePath.

It takes the following options:

  • composerDownloadCommand (optional) - The command that should be used to download Composer instead of the regular command.
Example:
$workflow
->setTaskOptions(‘TYPO3SurfTaskComposerDownloadTask’, [
‘composerDownloadCommand’ => ‘curl -s https://getcomposer.org/installer | php’

]

);

property shell

protected ShellCommandService

execute(Node $node, Application $application, Deployment $deployment, $options = [])

Execute this task

Parameters:
resolveOptions(OptionsResolver $resolver)
Parameters:
  • $resolver (OptionsResolver) –
setShellCommandService(ShellCommandService $shellCommandService)
Parameters:
rollback(Node $node, Application $application, Deployment $deployment, $options = [])

Rollback this task

Parameters:
simulate(Node $node, Application $application, Deployment $deployment, $options = [])

Simulate this task (e.g. by logging commands it would execute)

Parameters:
configureOptions($options = [])
Parameters:
  • $options (array) –
Returns:

array