/**
  * @param string $setting
  * @param UserInterface $user
  * @return mixed
  */
 public function getUserSetting($setting, UserInterface $user = null)
 {
     if (!$user) {
         $user = $this->authenticationService->getIdentity();
     }
     return $this->userSettingsService->getValue($setting, $user);
 }
 /**
  * @param string $setting
  * @param UserInterface $user
  * @return
  */
 public function getSetting($setting, UserInterface $user = null)
 {
     if (!$user) {
         $user = $this->zfcUserIdentity->__invoke();
     }
     return $this->userSettingsService->getvalue($setting, $user);
 }