<commit_before><?php

namespace Orchestra\View\Theme;

use Illuminate\Support\Manager;
use Illuminate\Support\Collection;
use Orchestra\Contracts\Theme\Theme as ThemeContract;

class ThemeManager extends Manager
{
    /**
     * Create an instance of the orchestra theme driver.
     *
     * @return \Orchestra\Contracts\Theme\Theme
     */
    protected function createOrchestraDriver(): ThemeContract
    {
        $theme = new Theme(
            $this->app, $this->app->make('events'), $this->app->make('files')
        );

        return $theme->initiate();
    }

    /**
     * {@inheritdoc}
     */
    public function getDefaultDriver()
    {
        return 'orchestra';
    }

    /**
     * Detect available themes.
     *
     * @return \Illuminat\Support\Collection
     */
    public function detect(): Collection
    {
        return $this->app->make('orchestra.theme.finder')->detect();
    }
}<commit_msg>Use container variable.<commit_after><?php

namespace Orchestra\View\Theme;

use Illuminate\Support\Manager;
use Illuminate\Support\Collection;
use Orchestra\Contracts\Theme\Theme as ThemeContract;

class ThemeManager extends Manager
{
    /**
     * Create an instance of the orchestra theme driver.
     *
     * @return \Orchestra\Contracts\Theme\Theme
     */
    protected function createOrchestraDriver(): ThemeContract
    {
        $theme = new Theme(
            $this->container, $this->container->make('events'), $this->container->make('files')
        );

        return $theme->initiate();
    }

    /**
     * {@inheritdoc}
     */
    public function getDefaultDriver()
    {
        return 'orchestra';
    }

    /**
     * Detect available themes.
     *
     * @return \Illuminat\Support\Collection
     */
    public function detect(): Collection
    {
        return $this->container->make('orchestra.theme.finder')->detect();
    }
}
{'fraction_non_alphanumeric': 0.13152289669861555, 'fraction_numerical': 0.0, 'mean_word_length': 2.492565055762082, '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': '6481394', 'n_tokens_mistral': 517, 'n_tokens_neox': 525, 'n_words': 110}