<commit_before><?php

namespace Corviz\Mvc;

use Corviz\DI\Container;

class Controller
{
    /**
     * @var Container
     */
    private $diContainer;

    protected function getContainer() : Container
    {
        return $this->diContainer;
    }

    /**
     * Controller constructor.
     *
     * @param Container $container
     */
    public function __construct(Container $container)
    {
        $this->diContainer = $container;
    }

    /**
     * @param string $name
     */
    public function __get($name)
    {
        return $this->diContainer->{$name};
    }
}
<commit_msg>Fixing docs<commit_after><?php

namespace Corviz\Mvc;

use Corviz\DI\Container;

class Controller
{
    /**
     * @var Container
     */
    private $diContainer;

    /**
     * @return \Corviz\DI\Container
     */
    protected function getContainer() : Container
    {
        return $this->diContainer;
    }

    /**
     * Controller constructor.
     *
     * @param Container $container
     */
    public function __construct(Container $container)
    {
        $this->diContainer = $container;
    }

    /**
     * @param $name
     *
     * @return object
     */
    public function __get($name)
    {
        return $this->diContainer->{$name};
    }
}

{'fraction_non_alphanumeric': 0.127373417721519, 'fraction_numerical': 0.0, 'mean_word_length': 1.9764705882352942, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '1513582', 'n_tokens_mistral': 383, 'n_tokens_neox': 379, 'n_words': 76}