mirror of
https://github.com/flarum/core.git
synced 2025-10-29 06:26:17 +01:00
24 lines
577 B
PHP
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');
|
|
}
|
|
}
|