| 1 | <?php |
||
| 11 | class Ssh extends AbstractServer |
||
| 12 | { |
||
| 13 | private $user; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $title |
||
| 17 | * @param string $path |
||
| 18 | * @param string $hostname |
||
| 19 | * @param $user |
||
| 20 | * @param LoggerInterface $logger |
||
| 21 | */ |
||
| 22 | public function __construct($title, $path, $hostname, $user, LoggerInterface $logger = null) |
||
| 29 | |||
| 30 | public function runCommands() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return Session |
||
| 45 | */ |
||
| 46 | private function getSession() |
||
| 54 | } |
||
| 55 |