src/Config/Loader/FileLoader/Json.php
public function supports($resource, $type = null)
    {
        if (is_string($resource)) {
            if ($this->isFile($resource)) {
                return $this->validateExtension($resource);
            } else {
                return $this->isJson($resource);
            }
        }

        return false;
    }
public function supports($resource, $type = null)
    {
        if (is_string($resource)) {
            if ($this->isFile($resource)) {
                return $this->validateExtension($resource);
            } else {
                return $this->isJson($resource);
            }
        }

        return false;
    }
public function supports ( $ resource , $ type = null ) { if ( is_string ( $ resource ) ) { if ( $ this -> isFile ( $ resource ) ) { return $ this -> validateExtension ( $ resource ) ; } else { return $ this -> isJson ( $ resource ) ; } } return false ; }
Return whether or not the passed in resource is supported by this loader

@param  string $resource Plain string or filepath
@param  string $type Not used

@return boolean Whether or not the passed in resource is supported by this loader
Return whether or not the passed in resource is supported by this loader