src/Theme/Theme.php
public function boot(): bool
    {
        if ($this->booted) {
            return false;
        }

        $this->booted = true;

        $themePath = $this->getThemePath();
        $autoload = $this->getThemeAutoloadFiles($themePath);

        foreach ($autoload as $file) {
            $file = \ltrim($file, '/');
            $this->files->requireOnce("{$themePath}/{$file}");
        }

        $this->dispatcher->dispatch("orchestra.theme.boot: {$this->theme}");

        return true;
    }
public function boot(): bool
    {
        if ($this->booted) {
            return false;
        }

        $this->booted = true;

        $themePath = $this->getThemePath();
        $autoload = $this->getThemeAutoloadFiles($themePath);

        foreach ($autoload as $file) {
            $file = \ltrim($file, '/');
            $this->files->requireOnce("{$themePath}/{$file}");
        }

        $this->dispatcher->dispatch("orchestra.theme.boot: {$this->theme}");

        return true;
    }
Boot and Load theme starter files.

@return bool