app['manipulator.user']->getRepository()->find($usr_id); return $user->getNotificationSettingValue($class); } protected function shouldSendNotificationFor($usr_id) { return 0 !== (int) $this->get_prefs(get_class($this), $usr_id); } }