1
0
mirror of https://github.com/flarum/core.git synced 2025-10-27 05:31:29 +01:00

Update for composer branch

This commit is contained in:
Toby Zerner
2015-10-12 15:09:39 +10:30
parent c472be9336
commit 853e718b3e
13 changed files with 45 additions and 125 deletions

View File

@@ -9,6 +9,9 @@
* file that was distributed with this source code.
*/
require __DIR__.'/vendor/autoload.php';
use Flarum\BBCode\Listener;
use Illuminate\Contracts\Events\Dispatcher;
return 'Flarum\BBCode\Extension';
return function (Dispatcher $events) {
$events->subscribe(Listener\FormatBBCode::class);
};