protected function symlinksTask($worker, AbstractAuth $auth, $remote)
    {
        $collection = $this->collectionBuilder();
        foreach ($remote['symlinks'] as $link) {
            $collection->taskSsh($worker, $auth)
                ->exec('ln -s -T -f ' . str_replace(':', ' ', $link));
        }
        return $collection;
    }
protected function symlinksTask($worker, AbstractAuth $auth, $remote)
    {
        $collection = $this->collectionBuilder();
        foreach ($remote['symlinks'] as $link) {
            $collection->taskSsh($worker, $auth)
                ->exec('ln -s -T -f ' . str_replace(':', ' ', $link));
        }
        return $collection;
    }
protected function symlinksTask ( $ worker , AbstractAuth $ auth , $ remote ) { $ collection = $ this -> collectionBuilder ( ) ; foreach ( $ remote [ 'symlinks' ] as $ link ) { $ collection -> taskSsh ( $ worker , $ auth ) -> exec ( 'ln -s -T -f ' . str_replace ( ':' , ' ' , $ link ) ) ; } return $ collection ; }
Create all required symlinks on the server.

@param string $worker
The server to install the site on.
@param \DigipolisGent\Robo\Task\Deploy\Ssh\Auth\AbstractAuth $auth
The ssh authentication to connect to the server.
@param array $remote
The remote settings for this server.

@return \Robo\Contract\TaskInterface
The symlink task.
Create all required symlinks on the server .