mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:38:08 +08:00
Deprecate remaining non-namespaced events
These will be replaced by etenders soon.
This commit is contained in:
parent
b56ebe5747
commit
167e4f3be8
@ -14,6 +14,9 @@ namespace Flarum\Event;
|
||||
use Flarum\Http\RouteCollection;
|
||||
use Flarum\Http\RouteHandlerFactory;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
abstract class AbstractConfigureRoutes
|
||||
{
|
||||
/**
|
||||
|
@ -12,9 +12,7 @@
|
||||
namespace Flarum\Event;
|
||||
|
||||
/**
|
||||
* Configure API routes.
|
||||
*
|
||||
* This event is fired when API routes are being registered.
|
||||
* @deprecated
|
||||
*/
|
||||
class ConfigureApiRoutes extends AbstractConfigureRoutes
|
||||
{
|
||||
|
@ -14,9 +14,7 @@ namespace Flarum\Event;
|
||||
use Flarum\Forum\Controller\FrontendController;
|
||||
|
||||
/**
|
||||
* Configure forum routes.
|
||||
*
|
||||
* This event is fired when routes for the forum client are being registered.
|
||||
* @deprecated
|
||||
*/
|
||||
class ConfigureForumRoutes extends AbstractConfigureRoutes
|
||||
{
|
||||
|
@ -15,6 +15,9 @@ use DirectoryIterator;
|
||||
use Flarum\Locale\LocaleManager;
|
||||
use RuntimeException;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
class ConfigureLocales
|
||||
{
|
||||
/**
|
||||
|
@ -13,6 +13,9 @@ namespace Flarum\Event;
|
||||
|
||||
use Zend\Stratigility\MiddlewarePipe;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
class ConfigureMiddleware
|
||||
{
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user