mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
10 lines
397 B
PHP
10 lines
397 B
PHP
|
<?php
|
||
|
|
||
|
// Require the extension's composer autoload file. This will enable all of our
|
||
|
// classes in the src directory to be autoloaded.
|
||
|
require __DIR__.'/vendor/autoload.php';
|
||
|
|
||
|
// Register our service provider with the Flarum application. In here we can
|
||
|
// register bindings and execute code when the application boots.
|
||
|
return $this->app->register('{{namespace}}\{{classPrefix}}ServiceProvider');
|