/** * @return UserInterfaceMode */ public function getCurrentRenderingMode() { return $this->interfaceRenderModeService->findModeByCurrentUser(); }