setUrl (string $url) : object

参数

@param  string  $url    代表一个URL地址

含义

用于设定一条url

举栗

$url = "http://www.phpcreeper.com/":

//直接调用
Task::getInstance()->setUrl($url);

//通过phpcreeper实例调用
$this->worker->getTaskMan()->setUrl($url);

results matching ""

    No results matching ""