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);
            }
        }
    }
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);
            }
        }
    }
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 ) ; } } }
Requires the installer files.

@param  bool  $once

@return void
Requires the installer files .