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); }
public function __construct($name, callable $callback, $serverGroup = null, $timeout = null) { $this->setName($name); $this->setCallback($callback); parent::__construct($serverGroup, $timeout); }
public function __construct($command, $serverGroup = null, $timeout = null) { $this->setCommand($command); parent::__construct($serverGroup, $timeout); }