YoastSEO_Vendor\GuzzleHttp\Handler
CurlHandler::__construct() public Yoast 1.0
Accepts an associative array of options:
- factory: Optional curl factory used to create cURL handles.
{} Это метод класса: CurlHandler{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$CurlHandler = new CurlHandler(); $CurlHandler->__construct( $options );
- $options(массив)
- Array of options to use with the handler
По умолчанию: []
Код CurlHandler::__construct() CurlHandler:: construct Yoast 15.6.2
public function __construct(array $options = [])
{
$this->factory = isset($options['handle_factory']) ? $options['handle_factory'] : new \YoastSEO_Vendor\GuzzleHttp\Handler\CurlFactory(3);
}