Neos\Neos\Service\Controller\UserPreferenceController::indexAction PHP 메소드

indexAction() 공개 메소드

public indexAction ( ) : string
리턴 string json encoded user preferences
    public function indexAction()
    {
        $this->response->setHeader('Content-Type', 'application/json');
        return json_encode($this->userService->getCurrentUser()->getPreferences()->getPreferences());
    }
UserPreferenceController