TYPO3\Surf\Task\Generic\CreateSymlinksTask

class CreateSymlinksTask

Creates symlinks on target node.

It takes the following options:

  • symlinks - An array of symlinks to create. The array index is the link to be created (relative to the current application release path). The value is the path to the existing file/directory (absolute or relative to the link).
Example:
$options[‘symlinks’] = array(
‘Web/foobar’ => ‘/tmp/foobar’, # An absolute link ‘Web/foobaz’ => ‘../../../shared/Data/foobaz’, # A relative link into the shared folder

);

property shell

protected ShellCommandService

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

Execute this task

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

Simulate 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:
configureOptions($options = [])
Parameters:
  • $options (array) –
Returns:

array