<commit_before><?php

/**
 * Artax ViewInterface File
 * 
 * PHP version 5.3
 * 
 * @package    blocks
 * @subpackage views
 * @author     <NAME> <<EMAIL>>
 */

namespace artax\blocks\views {
  
  /**
   * ViewInterface
   * 
   * @category   artax
   * @package    blocks
   * @subpackage views
   * @author     <NAME> <<EMAIL>>
   */
  interface ViewInterface
  {
    /**
     * Template variable setter method
     * 
     * @param string $name Template variable name
     * @param mixed  $var  Template variable contents
     * 
     * @return mixed
     */
    public function setVar($name, $var);
    
    /**
     * Template variable getter method
     * 
     * @param string $name Template variable name
     * 
     * @return mixed Template variable contents
     */
    public function getVar($name);
    
    /**
     * Fetch rendered template without outputting
     * 
     * @return string
     */
    public function render();
    
    /**
     * Send rendered template output to STDOUT
     * 
     * @return void
     */
    public function output();
  }

}<commit_msg>Added setTemplate() method and modified documentation<commit_after><?php

/**
 * Artax ViewInterface File
 * 
 * PHP version 5.3
 * 
 * @package    blocks
 * @subpackage views
 * @author     <NAME> <<EMAIL>>
 */

namespace artax\blocks\views {
  
  /**
   * ViewInterface
   * 
   * @category   artax
   * @package    blocks
   * @subpackage views
   * @author     <NAME> <<EMAIL>>
   */
  interface ViewInterface
  {
    /**
     * Setter method for template name/path
     * 
     * @param string $tpl The template to use for rendering
     */
    public function setTemplate($tpl);
    
    /**
     * Template variable setter method
     * 
     * @param string $name Template variable name
     * @param mixed  $var  Template variable contents
     */
    public function setVar($name, $var);
    
    /**
     * Template variable getter method
     * 
     * @param string $name Template variable name
     */
    public function getVar($name);
    
    /**
     * Fetch rendered template without outputting
     */
    public function render();
    
    /**
     * Send rendered template output to STDOUT
     */
    public function output();
  }

}
{'fraction_non_alphanumeric': 0.10655372269282211, 'fraction_numerical': 0.0017833259028087382, 'mean_word_length': 2.0161290322580645, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '4998911', 'n_tokens_mistral': 653, 'n_tokens_neox': 638, 'n_words': 189}