public function __construct($command = null, $server = null) { if ($command) { $this->setCommand($command); } parent::__construct($server); }
public function __construct($name = null, $server = null) { if ($name) { $this->setName($name); } parent::__construct($server); }
public function __construct($localFile = null, $remoteFile = null, $server = null) { if ($localFile) { $this->setLocalFile($localFile); } if ($remoteFile) { $this->setRemoteFile($remoteFile); } parent::__construct($server); }