framework/extensions/likes/bootstrap.php

10 lines
386 B
PHP
Raw Normal View History

2015-06-23 08:55:24 +08:00
<?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('Flarum\Likes\LikesServiceProvider');