src/wcmf/lib/service/SoapServer.php
public function getResponseHeaders() {
    $headerStrings = headers_list();
    header_remove();
    $headers = [];
    foreach ($headerStrings as $header) {
      list($name, $value) = explode(':', $header, 2);
      $headers[trim($name)] = trim($value);
    }
    return $headers;
  }
public function getResponseHeaders() {
    $headerStrings = headers_list();
    header_remove();
    $headers = [];
    foreach ($headerStrings as $header) {
      list($name, $value) = explode(':', $header, 2);
      $headers[trim($name)] = trim($value);
    }
    return $headers;
  }
public function getResponseHeaders ( ) { $ headerStrings = headers_list ( ) ; header_remove ( ) ; $ headers = [ ] ; foreach ( $ headerStrings as $ header ) { list ( $ name , $ value ) = explode ( ':' , $ header , 2 ) ; $ headers [ trim ( $ name ) ] = trim ( $ value ) ; } return $ headers ; }
Get the response headers after a call to the service method
@return Array
Get the response headers after a call to the service method