# IKnowledgeBaseInfoProvider

Extends

Is able to extract knowledge base name out of a knowledge base

author | Lukas Korinek
package | Default

### Methods

## Gets default language of the provider

    getDefaultLanguage() : string

### Response

`string`

Language short (non ISO) string

## Gets a knowledge base description by its file path

    getKnowledgeBaseDescription(string $path) : string

### Arguments

#### $path

`string`

### Response

`string`

## Gets languages supported by a knowledge base

    getKnowledgeBaseLanguages(string $path) : array

### Arguments

#### $path

`string`

### Response

`array`

## Gets a knowledge base name by its file path

    getKnowledgeBaseName(string $path) : string

### Arguments

#### $path

`string`

### Response

`string`

## Sets default language of the provider

    setDefaultLanguage(string $language)

### Arguments

#### $language

`string`

Language short (non ISO) string