mirror of
https://github.com/flarum/framework.git
synced 2025-02-24 06:33:10 +08:00
Use new listen API
This commit is contained in:
parent
06d5e1395e
commit
6b92345e9d
@ -5,24 +5,9 @@ use Illuminate\Events\Dispatcher;
|
|||||||
|
|
||||||
class Extension extends BaseExtension
|
class Extension extends BaseExtension
|
||||||
{
|
{
|
||||||
/**
|
public function listen(Dispatcher $events)
|
||||||
* Bootstrap the application events.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function boot(Dispatcher $events)
|
|
||||||
{
|
{
|
||||||
$events->subscribe('Flarum\BBCode\Listeners\AddClientAssets');
|
$events->subscribe('Flarum\BBCode\Listeners\AddClientAssets');
|
||||||
$events->subscribe('Flarum\BBCode\Listeners\AddBBCodeFormatter');
|
$events->subscribe('Flarum\BBCode\Listeners\AddBBCodeFormatter');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Register the service provider.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function register()
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user