mirror of
https://github.com/flarum/core.git
synced 2025-07-10 11:26:24 +02:00
Move command classes to domain namespaces
They will probably be refactored away at a later stage (when we get rid of the command bus). Until then, this lets us remove the Flarum\Core namespace and actually feels quite clean.
This commit is contained in:
src
Api
Controller
CreateDiscussionController.phpCreateGroupController.phpCreatePostController.phpCreateUserController.phpDeleteAvatarController.phpDeleteDiscussionController.phpDeleteGroupController.phpDeletePostController.phpDeleteUserController.phpForgotPasswordController.phpReadAllNotificationsController.phpUpdateDiscussionController.phpUpdateGroupController.phpUpdateNotificationController.phpUpdatePostController.phpUpdateUserController.phpUploadAvatarController.php
Discussion
Command
Forum
Controller
Group
Command
Notification
Command
Post
Command
User
Command
ConfirmEmail.phpConfirmEmailHandler.phpDeleteAvatar.phpDeleteAvatarHandler.phpDeleteUser.phpDeleteUserHandler.phpEditUser.phpEditUserHandler.phpRegisterUser.phpRegisterUserHandler.phpRequestPasswordReset.phpRequestPasswordResetHandler.phpUploadAvatar.phpUploadAvatarHandler.php
UserServiceProvider.php@ -11,8 +11,8 @@
|
||||
|
||||
namespace Flarum\Api\Controller;
|
||||
|
||||
use Flarum\Core\Command\ReadDiscussion;
|
||||
use Flarum\Core\Command\StartDiscussion;
|
||||
use Flarum\Discussion\Command\ReadDiscussion;
|
||||
use Flarum\Discussion\Command\StartDiscussion;
|
||||
use Flarum\Post\Floodgate;
|
||||
use Illuminate\Contracts\Bus\Dispatcher;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
|
Reference in New Issue
Block a user