Flarum\Http\WebApp\AbstractWebApp::getView PHP Метод

getView() публичный Метод

public getView ( ) : WebAppView
Результат WebAppView
    public function getView()
    {
        $view = $this->view->make($this->getLayout(), $this->getAssets());
        $this->addDefaultAssets($view);
        $this->addCustomLess($view);
        $this->addTranslations($view);
        return $view;
    }

Usage Example

Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function getView()
 {
     $view = parent::getView();
     $view->getJs()->addString(function () {
         return $this->formatter->getJs();
     });
     return $view;
 }
All Usage Examples Of Flarum\Http\WebApp\AbstractWebApp::getView