1
0
mirror of https://github.com/flarum/core.git synced 2025-10-29 06:26:17 +01:00
Files
php-flarum/extensions/bbcode/src/Extension.php
2015-09-04 12:33:23 +09:30

24 lines
577 B
PHP

<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\BBCode;
use Flarum\Support\Extension as BaseExtension;
use Illuminate\Events\Dispatcher;
class Extension extends BaseExtension
{
public function listen(Dispatcher $events)
{
$events->subscribe('Flarum\BBCode\Listeners\AddClientAssets');
$events->subscribe('Flarum\BBCode\Listeners\AddBBCodeFormatter');
}
}