src/Flowcode/DashboardBundle/Service/SettingService.php
public function get($key)
    {
        /**
         * @var Setting $setting
         */
        $setting = $this->settingRepository->findOneBy(array(
            'name' => $key,
        ));
        if ($setting) {
            return $setting->getValue();
        }
        return null;
    }
public function get($key)
    {
        /**
         * @var Setting $setting
         */
        $setting = $this->settingRepository->findOneBy(array(
            'name' => $key,
        ));
        if ($setting) {
            return $setting->getValue();
        }
        return null;
    }
Get setting value.

@param $key
@return null|string