src/OpenBuildings/Monetary/CURL.php
protected function _init(array $curl_options)
	{
		$options = array(
			CURLOPT_SSL_VERIFYPEER => FALSE,
			CURLOPT_SSL_VERIFYHOST => FALSE,
			CURLOPT_RETURNTRANSFER => TRUE,
			CURLOPT_FOLLOWLOCATION => TRUE,
			CURLOPT_MAXREDIRS      => 10
		);

		$options += $curl_options;

		$curl = curl_init();

		curl_setopt_array($curl, $options);

		return $curl;
	}
protected function _init(array $curl_options)
	{
		$options = array(
			CURLOPT_SSL_VERIFYPEER => FALSE,
			CURLOPT_SSL_VERIFYHOST => FALSE,
			CURLOPT_RETURNTRANSFER => TRUE,
			CURLOPT_FOLLOWLOCATION => TRUE,
			CURLOPT_MAXREDIRS      => 10
		);

		$options += $curl_options;

		$curl = curl_init();

		curl_setopt_array($curl, $options);

		return $curl;
	}
protected function _init ( array $ curl_options ) { $ options = array ( CURLOPT_SSL_VERIFYPEER => FALSE , CURLOPT_SSL_VERIFYHOST => FALSE , CURLOPT_RETURNTRANSFER => TRUE , CURLOPT_FOLLOWLOCATION => TRUE , CURLOPT_MAXREDIRS => 10 ) ; $ options += $ curl_options ; $ curl = curl_init ( ) ; curl_setopt_array ( $ curl , $ options ) ; return $ curl ; }
Initializes a cURL resource and set options
@param  array  $curl_options
@return resource cURL resource
@codeCoverageIgnore
Initializes a cURL resource and set options