composer install.', 'sage')); } require $composer; /* |-------------------------------------------------------------------------- | Register The Bootloader |-------------------------------------------------------------------------- | | The first thing we will do is schedule a new Acorn application container | to boot when WordPress is finished loading the theme. The application | serves as the "glue" for all the components of Laravel and is | the IoC container for the system binding all of the various parts. | */ Application::configure() ->withProviders([ App\Providers\ThemeServiceProvider::class, ]) ->boot(); /* |-------------------------------------------------------------------------- | Register Sage Theme Files |-------------------------------------------------------------------------- | | Out of the box, Sage ships with categorically named theme files | containing common functionality and setup to be bootstrapped with your | theme. Simply add (or remove) files from the array below to change what | is registered alongside Sage. | */ collect(['setup', 'filters']) ->each(function ($file) { if (! locate_template($file = "app/{$file}.php", true, true)) { wp_die( /* translators: %s is replaced with the relative file path */ sprintf(__('Error locating %s for inclusion.', 'sage'), $file) ); } });