Files
flarum-ext-redis-setup/extend.php
Ian Morland 3284a36926 Cleanup
2021-07-05 14:12:08 +01:00

29 lines
619 B
PHP

<?php
/*
* This file is part of glowingblue/redis-setup.
*
* Copyright (c) 2021 Ian Morland.
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace GlowingBlue\RedisSetup;
use Flarum\Extend;
use GlowingBlue\RedisSetup\Extend as GBExtend;
use GlowingBlue\RedisSetup\Provider\QueueProvider;
return [
(new Extend\Frontend('admin'))
->js(__DIR__.'/js/dist/admin.js'),
new Extend\Locales(__DIR__.'/resources/locale'),
new GBExtend\EnableRedis(),
(new Extend\ServiceProvider())
->register(QueueProvider::class),
];