getExtensions() public method

public getExtensions ( ) : Collection
return Illuminate\Support\Collection
Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function getView(ServerRequestInterface $request)
 {
     $view = parent::getView($request);
     $settings = $this->settings->all();
     $this->events->fire(new PrepareUnserializedSettings($settings));
     $view->setVariable('settings', $settings);
     $view->setVariable('permissions', Permission::map());
     $view->setVariable('extensions', $this->extensions->getExtensions()->toArray());
     return $view;
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function render(Request $request)
 {
     $view = BaseClientController::render($request);
     $settings = $this->settings->all();
     $this->events->fire(new PrepareUnserializedSettings($settings));
     $view->setVariable('settings', $settings);
     $view->setVariable('permissions', Permission::map());
     $view->setVariable('extensions', $this->extensions->getExtensions()->toArray());
     return $view;
 }