Ejemplo n.º 1
0
 public function __construct($command = null, $server = null)
 {
     if ($command) {
         $this->setCommand($command);
     }
     parent::__construct($server);
 }
Ejemplo n.º 2
0
 public function __construct($name = null, $server = null)
 {
     if ($name) {
         $this->setName($name);
     }
     parent::__construct($server);
 }
Ejemplo n.º 3
0
 public function __construct($localFile = null, $remoteFile = null, $server = null)
 {
     if ($localFile) {
         $this->setLocalFile($localFile);
     }
     if ($remoteFile) {
         $this->setRemoteFile($remoteFile);
     }
     parent::__construct($server);
 }