Exemple #1
0
 public function __construct($localFile = null, $remoteFile = null, $serverGroup = null, $timeout = null)
 {
     if ($localFile) {
         $this->setLocalFile($localFile);
     }
     if ($remoteFile) {
         $this->setRemoteFile($remoteFile);
     }
     parent::__construct($serverGroup, $timeout);
 }
Exemple #2
0
 public function __construct($name, callable $callback, $serverGroup = null, $timeout = null)
 {
     $this->setName($name);
     $this->setCallback($callback);
     parent::__construct($serverGroup, $timeout);
 }
Exemple #3
0
 public function __construct($command, $serverGroup = null, $timeout = null)
 {
     $this->setCommand($command);
     parent::__construct($serverGroup, $timeout);
 }