public function setCookieFile($file) {
        $file = (string)$file;
        return $this->setOption(CURLOPT_COOKIEJAR, $file)
            ->setOption(CURLOPT_COOKIEFILE, $file);
    }
public function setCookieFile($file) {
        $file = (string)$file;
        return $this->setOption(CURLOPT_COOKIEJAR, $file)
            ->setOption(CURLOPT_COOKIEFILE, $file);
    }
public function setCookieFile ( $ file ) { $ file = ( string ) $ file ; return $ this -> setOption ( CURLOPT_COOKIEJAR , $ file ) -> setOption ( CURLOPT_COOKIEFILE , $ file ) ; }
SET COOKIE FILE
@param string|File $file
@return $this
SET COOKIE FILE