public function get($key)
    {
        if (!$this->has($key)) {
            return null;
        }

        return (new SettingModel)
            ->cached()
            ->where('key', $key)
            ->first()
            ->value;
    }
public function get($key)
    {
        if (!$this->has($key)) {
            return null;
        }

        return (new SettingModel)
            ->cached()
            ->where('key', $key)
            ->first()
            ->value;
    }
public function get ( $ key ) { if ( ! $ this -> has ( $ key ) ) { return null ; } return ( new SettingModel ) -> cached ( ) -> where ( 'key' , $ key ) -> first ( ) -> value ; }
Get value if key exists else it will return null

@param  string $key
@return string|null
Get value if key exists else it will return null