public function clearCookieFile()
    {
        if (!is_writable($this->cookieFile)) {
            throw new CurlWrapperException('Cookie file "'.($this->cookieFile).'" is not writable or does\'n exists!');
        }

        file_put_contents($this->cookieFile, '', LOCK_EX);
    }
public function clearCookieFile()
    {
        if (!is_writable($this->cookieFile)) {
            throw new CurlWrapperException('Cookie file "'.($this->cookieFile).'" is not writable or does\'n exists!');
        }

        file_put_contents($this->cookieFile, '', LOCK_EX);
    }
public function clearCookieFile ( ) { if ( ! is_writable ( $ this -> cookieFile ) ) { throw new CurlWrapperException ( 'Cookie file "' . ( $ this -> cookieFile ) . '" is not writable or does\'n exists!' ) ; } file_put_contents ( $ this -> cookieFile , '' , LOCK_EX ) ; }
Clears the cookies file
Clears the cookies file