original_string: public function doPostRequest(
        string $url,
        array $data,
        array $headers = [],
        bool $closeConnection = true
      ) {
          $this->setUrl($url)
              ->setPostMethod()
              ->setPostFields($data)
              ->setMustReturnTransfer()
              ->setHttpHeader($headers)
              ->execute(true, $closeConnection);
          $this->_call($this->callback ?? function (FluentCurl $instance) {
          }, $this);
  
          return $this;
      }
code: public function doPostRequest(
        string $url,
        array $data,
        array $headers = [],
        bool $closeConnection = true
      ) {
          $this->setUrl($url)
              ->setPostMethod()
              ->setPostFields($data)
              ->setMustReturnTransfer()
              ->setHttpHeader($headers)
              ->execute(true, $closeConnection);
          $this->_call($this->callback ?? function (FluentCurl $instance) {
          }, $this);
  
          return $this;
      }
code_tokens: public function doPostRequest ( string $ url , array $ data , array $ headers = [ ] , bool $ closeConnection = true ) { $ this -> setUrl ( $ url ) -> setPostMethod ( ) -> setPostFields ( $ data ) -> setMustReturnTransfer ( ) -> setHttpHeader ( $ headers ) -> execute ( true , $ closeConnection ) ; $ this -> _call ( $ this -> callback ?? function ( FluentCurl $ instance ) { } , $ this ) ; return $ this ; }
docstring: Wraps all the post functionality into a single method.
  
  @param string $url
  @param array  $data
  @param array  $headers
docstring_tokens: Wraps all the post functionality into a single method .