<commit_before><?php

/**
 * This file is part of endobox.
 *
 * (c) 2015-2016 <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace endobox;
/**
 *
 */
class Template implements Renderable
{
    private $filename;

    /**
     * 
     */
    public function __construct(string $filename)
    {

    }

    /**
     * 
     */
    public function __toString()
    {

    }

    /**
     * 
     */
    public function render()
    {

    }

}<commit_msg>Implement Template class<commit_after><?php

/**
 * This file is part of endobox.
 *
 * (c) 2015-2016 <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace endobox;
/**
 *
 */
class Template implements Renderable
{
    private $filename;

    /**
     *
     */
    public function __construct(string $filename)
    {
        $this->filename = $filename;
    }

    /**
     *
     */
    public function __toString() : string
    {
        return $this->render();
    }

    /**
     *
     */
    public function render() : string
    {
        return \file_get_contents($this->filename);
    }

}
{'fraction_non_alphanumeric': 0.12677165354330708, 'fraction_numerical': 0.012598425196850394, 'mean_word_length': 2.04066985645933, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 12, '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': '4005248', 'n_tokens_mistral': 401, 'n_tokens_neox': 374, 'n_words': 106}