TYPO3\Surf\Task\CreateDirectoriesTask

class CreateDirectoriesTask

A task to create initial directories and the release directory for the current release.

This task will automatically create needed directories and create a symlink to the upcoming release, called “next”.

It doesn’t take any options, you have to configure the application.

Example:
$application
->setOption(‘deploymentPath’, ‘/var/www/outerspace’);
property shell

protected ShellCommandService

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

Executes this task

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

Simulate this task

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

Rollback this task

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

array

resolveOptions(OptionsResolver $resolver)
Parameters:
  • $resolver (OptionsResolver) –