protected function prepareOptions(array $options = [])
    {
        $cookieName = time()."_".substr(md5(microtime()), 0, 5).".txt";
                
        $defaultConfig = array(
            'curl' => array(
                CURLOPT_COOKIEJAR      => $cookieName,
                CURLOPT_COOKIEFILE     => $cookieName,
            ),
        );
        $configOptions = array_merge_recursive($options, $defaultConfig);
        
        return $configOptions;
    }
protected function prepareOptions(array $options = [])
    {
        $cookieName = time()."_".substr(md5(microtime()), 0, 5).".txt";
                
        $defaultConfig = array(
            'curl' => array(
                CURLOPT_COOKIEJAR      => $cookieName,
                CURLOPT_COOKIEFILE     => $cookieName,
            ),
        );
        $configOptions = array_merge_recursive($options, $defaultConfig);
        
        return $configOptions;
    }
protected function prepareOptions ( array $ options = [ ] ) { $ cookieName = time ( ) . "_" . substr ( md5 ( microtime ( ) ) , 0 , 5 ) . ".txt" ; $ defaultConfig = array ( 'curl' => array ( CURLOPT_COOKIEJAR => $ cookieName , CURLOPT_COOKIEFILE => $ cookieName , ) , ) ; $ configOptions = array_merge_recursive ( $ options , $ defaultConfig ) ; return $ configOptions ; }
get default configuration options for guzzle
@return array
get default configuration options for guzzle