1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 18:56:44 +02:00

Create new Flarum\Frontend namespace

It replaces the old Http\WebApp namespace and swallows other namespaces
and files, such as Flarum\Asset.
This commit is contained in:
Franz Liedke
2017-06-24 11:52:53 +02:00
parent 6268c3010f
commit 0be13d50bd
22 changed files with 84 additions and 86 deletions

View File

@@ -12,20 +12,20 @@
namespace Flarum\Event;
use Flarum\Admin\Controller\FrontendController as AdminWebAppController;
use Flarum\Forum\Controller\WebAppController as ForumWebAppController;
use Flarum\Http\Controller\AbstractWebAppController;
use Flarum\Http\WebApp\WebAppView;
use Flarum\Forum\Controller\FrontendController as ForumWebAppController;
use Flarum\Frontend\AbstractFrontendController;
use Flarum\Frontend\FrontendView;
use Psr\Http\Message\ServerRequestInterface;
class ConfigureWebApp
{
/**
* @var AbstractWebAppController
* @var AbstractFrontendController
*/
public $controller;
/**
* @var WebAppView
* @var FrontendView
*/
public $view;
@@ -35,11 +35,11 @@ class ConfigureWebApp
public $request;
/**
* @param AbstractWebAppController $controller
* @param WebAppView $view
* @param AbstractFrontendController $controller
* @param FrontendView $view
* @param ServerRequestInterface $request
*/
public function __construct(AbstractWebAppController $controller, WebAppView $view, ServerRequestInterface $request)
public function __construct(AbstractFrontendController $controller, FrontendView $view, ServerRequestInterface $request)
{
$this->controller = $controller;
$this->view = $view;