<commit_before><?php
/**
 * CloudLib :: Lightweight RESTful MVC PHP Framework
 *
 * @author      <NAME> <<EMAIL>>
 * @copyright   Copyright (c) 2011 <NAME> <<EMAIL>>
 * @license     MIT License (http://www.opensource.org/licenses/mit-license.php)
 * @package     Cloudlib
 */

namespace cloudlib;

// SPL
use RuntimeException;

/**
 * <class name>
 *
 * <short description>
 *
 * @package     Cloudlib
 * @copyright   Copyright (c) 2011 <NAME> <<EMAIL>>
 * @license     MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
class View
{
    /**
     * Directory paths
     *
     * @access  protected
     * @var     string
     */
    protected static $paths = array();

    /**
     * The View
     *
     * @access  public
     * @var     string
     */
    public $view = null;

    /**
     * Page layout
     *
     * @access  private
     * @var     string
     */
    public $layout = null;

    /**
     * View variables
     *
     * @access  private
     * @var     array
     */
    public $data = array();

    /**
     * The rendered content
     *
     * @access  public
     * @var     string
     */
    public $content;

    /**
     * Constructor
     *
     * @param   mixed   $view
     * @param   string  $layout
     * @param   array   $data
     * @access  public
     * @return  void
     */
    public function __construct($view, $layout = null, array $data = array())
    {
        if( ! is_array($view))
        {
            $this->view = $view;
            $this->layout = $layout;
            $this->data = $data;<commit_msg>moved comment<commit_after><?php
/**
 * CloudLib :: Lightweight RESTful MVC PHP Framework
 *
 * @author      <NAME> <<EMAIL>>
 * @copyright   Copyright (c) 2011 <NAME> <<EMAIL>>
 * @license     MIT License (http://www.opensource.org/licenses/mit-license.php)
 * @package     Cloudlib
 */

namespace cloudlib;

// SPL
use RuntimeException;

/**
 * <class name>
 *
 * <short description>
 *
 * @package     Cloudlib
 * @copyright   Copyright (c) 2011 <NAME> <<EMAIL>>
 * @license     MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
class View
{
    /**
     * Directory paths
     *
     * @access  protected
     * @var     string
     */
    protected static $paths = array();

    /**
     * The View
     *
     * @access  public
     * @var     string
     */
    public $view = null;

    /**
     * Page layout
     *
     * @access  private
     * @var     string
     */
    public $layout = null;

    /**
     * View variables
     *
     * @access  private
     * @var     array
     */
    public $data = array();

    /**
     * The rendered content
     *
     * @access  public
     * @var     string
     */
    public $content;

    /**
     * Constructor
     *
     * @access  public
     * @param   mixed   $view
     * @param   string  $layout
     * @param   array   $data
     * @return  void
     */
    public function __construct($view, $layout = null, array $data = array())
    {
        if( ! is_array($view))
        {
            $this->view = $view;
            $this->layout = $layout;
            $this->data = $data;
{'fraction_non_alphanumeric': 0.1400381922342457, 'fraction_numerical': 0.005092297899427116, 'mean_word_length': 1.6909246575342465, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '759863', 'n_tokens_mistral': 1005, 'n_tokens_neox': 971, 'n_words': 242}