Pull merge.
[yaffs-website] / vendor / consolidation / robo / src / Task / Remote / loadTasks.php
1 <?php
2 namespace Robo\Task\Remote;
3
4 trait loadTasks
5 {
6     /**
7      * @return \Robo\Task\Remote\Rsync
8      */
9     protected function taskRsync()
10     {
11         return $this->task(Rsync::class);
12     }
13
14     /**
15      * @param null|string $hostname
16      * @param null|string $user
17      *
18      * @return \Robo\Task\Remote\Ssh
19      */
20     protected function taskSshExec($hostname = null, $user = null)
21     {
22         return $this->task(Ssh::class, $hostname, $user);
23     }
24 }