public function show($key)
    {
        $config = config($key) ?? [];

        if (! isset($this->limits[$key])) {
            return $this->filter($config);
        }

        return response()->json(
            $this->filter(array_only($config, $this->limits[$key]))
        );
    }
public function show($key)
    {
        $config = config($key) ?? [];

        if (! isset($this->limits[$key])) {
            return $this->filter($config);
        }

        return response()->json(
            $this->filter(array_only($config, $this->limits[$key]))
        );
    }
public function show ( $ key ) { $ config = config ( $ key ) ?? [ ] ; if ( ! isset ( $ this -> limits [ $ key ] ) ) { return $ this -> filter ( $ config ) ; } return response ( ) -> json ( $ this -> filter ( array_only ( $ config , $ this -> limits [ $ key ] ) ) ) ; }
Show configuration by key.

@param string $key
@return array|mixed
Show configuration by key .