PHP Class Xinax\LaravelGettext\Config\ConfigManager

Afficher le fichier Open project: xinax/laravel-gettext Class Usage Examples

Protected Properties

Свойство Type Description
$config Xinax\LaravelGettext\Config\Models\Config Config model

Méthodes publiques

Méthode Description
__construct ( array $config = null )
create ( null $config = null ) : static Get new instance of the ConfigManager
get ( ) : Config Get the config model

Méthodes protégées

Méthode Description
generateFromArray ( array $config ) : Config Creates a configuration container and checks the required fields

Method Details

__construct() public méthode

public __construct ( array $config = null )
$config array

create() public static méthode

Get new instance of the ConfigManager
public static create ( null $config = null ) : static
$config null
Résultat static

generateFromArray() protected méthode

Creates a configuration container and checks the required fields
protected generateFromArray ( array $config ) : Config
$config array
Résultat Xinax\LaravelGettext\Config\Models\Config

get() public méthode

Get the config model
public get ( ) : Config
Résultat Xinax\LaravelGettext\Config\Models\Config

Property Details

$config protected_oe property

Config model
protected Config,Xinax\LaravelGettext\Config\Models $config
Résultat Xinax\LaravelGettext\Config\Models\Config