framework/extensions/bbcode/bootstrap.php

11 lines
385 B
PHP
Raw Normal View History

2015-07-23 18:55:52 +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';
// Return the name of our Extension class. Flarum will register it as a service
// provider, allowing it to register bindings and execute code when the
// application boots.
return 'Flarum\BBCode\Extension';