SensioLabs\Security\Crawler\CurlCrawler::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        if (!function_exists('curl_init')) {
            throw new RuntimeException('cURL is required to use the cURL crawler.');
        }
    }