src/Models/Repository/ConfigurationRepository.php
public function getValueByKey($key)
    {
        $model = Configuration::whereConfigurationKey($key)->first();

        if (null === $model) {
            return null;
        }

        return $model->configuration_value;
    }
public function getValueByKey($key)
    {
        $model = Configuration::whereConfigurationKey($key)->first();

        if (null === $model) {
            return null;
        }

        return $model->configuration_value;
    }
public function getValueByKey ( $ key ) { $ model = Configuration :: whereConfigurationKey ( $ key ) -> first ( ) ; if ( null === $ model ) { return null ; } return $ model -> configuration_value ; }
Find an Configuration_value  by  given configurationKey

@param string $key
@return string $configurationValue
Find an Configuration_value by given configurationKey