<commit_before><?php
/* This class is part of the XP framework
 *
 * $Id$ 
 */

  /**
   * SOAP fault
   *
   * @purpose  XML subtree
   */
  class SOAPFault extends XML {
    var 
      $faultcode    = '', 
      $faultstring  = '', 
      $faultactor   = NULL,
      $detail       = NULL;
    
    /**
     * Fill in this fault with data
     *
     * @access  public
     * @param   string faultcode
     * @param   string faultstring
     * @param   string faultactor default NULL
     * @param   mixed detail default NULL
     */  
    function create(
      $faultcode, 
      $faultstring, 
      $faultactor= NULL, 
      $detail= NULL
    ) {
      $this->faultcode= $faultcode;
      $this->faultstring= $faultstring;
      $this->faultactor= $faultactor;
      $this->detail= $detail;
    }
  }
?><commit_msg>- Add accessors<commit_after><?php
/* This class is part of the XP framework
 *
 * $Id$ 
 */

  /**
   * SOAP fault
   *
   * @purpose  XML subtree
   */
  class SOAPFault extends XML {
    var 
      $faultcode    = '', 
      $faultstring  = '', 
      $faultactor   = NULL,
      $detail       = NULL;

    /**
     * Fill in this fault with data
     *
     * @access  public
     * @param   string faultcode
     * @param   string faultstring
     * @param   string faultactor default NULL
     * @param   mixed detail default NULL
     */  
    function create(
      $faultcode, 
      $faultstring, 
      $faultactor= NULL, 
      $detail= NULL
    ) {
      $this->faultcode= $faultcode;
      $this->faultstring= $faultstring;
      $this->faultactor= $faultactor;
      $this->detail= $detail;
    }
    
    /**
     * Set Faultcode
     *
     * @access  public
     * @param   string faultcode
     */
    function setFaultcode($faultcode) {
      $this->faultcode= $faultcode;
    }

    /**
     * Get Faultcode
     *
     * @access  public
     * @return  string
     */
    function getFaultcode() {
      return $this->faultcode;
    }

    /**
     * Set Faultstring
     *
     * @access  public
     * @param   string faultstring
     */
    function setFaultstring($faultstring) {
      $this->faultstring= $faultstring;
    }

    /**
     * Get Faultstring
     *
     * @access  public
     * @return  string
     */
    function getFaultstring() {
      return $this->faultstring;
    }

    /**
     * Set Faultactor
     *
     * @access  public
     * @param   string faultactor
     */
    function setFaultactor($faultactor) {
      $this->faultactor= $faultactor;
    }

    /**
     * Get Faultactor
     *
     * @access  public
     * @return  string
     */
    function getFaultactor() {
      return $this->faultactor;
    }

    /**
     * Set Detail
     *
     * @access  public
     * @param   mixed detail
     */
    function setDetail($detail) {
      $this->detail= $detail;
    }

    /**
     * Get Detail
     *
     * @access  public
     * @return  mixed
     */
    function getDetail() {
      return $this->detail;
    }
  }
?>
{'fraction_non_alphanumeric': 0.11884154460719042, 'fraction_numerical': 0.0, 'mean_word_length': 1.640597539543058, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '959203', 'n_tokens_mistral': 1005, 'n_tokens_neox': 941, 'n_words': 218}