protected function requireInstallerFiles(bool $once = true): void
    {
        $paths = \config('orchestra/installer::installers.paths', []);

        $method = ($once === true ? 'requireOnce' : 'getRequire');

        foreach ($paths as $path) {
            $file = \rtrim($path, '/').'/installer.php';

            if (File::exists($file)) {
                File::{$method}($file);
            }
        }
    }