dschoenbauer/config
Composer 安装命令:
composer require dschoenbauer/config
包简介
Description of project Config.
README 文档
README
A common library to load a directory full of JSON files into a massive array that can be accessed.
Methods summary
| Method | Description |
|---|---|
| public __construct( string $path = null ) | |
| public mixed get( string $dotNotation, mixed $defaultValue = null ) | retrieves a value from the amalgamation of all the JSON files data |
| public array getFiles( string $path ) | retrieves an array of JSON files found in a directory |
| public importData( array $files = [] ) | loads data into the object from a list of JSON files. If run multiple times the data will be continually added to |
| public load( string $path ) | loads JSON files from a directory path |
| public DSchoenbauer\DotNotation\ArrayDotNotation #getArrayDot( ) | Array dot notation allows for quick and easy access to a complicated data structure |
| public setArrayDot( DSchoenbauer\DotNotation\ArrayDotNotation $arrayDot ) | Array dot notation allows for quick and easy access to a complicated data structure |
| public string filterPath( string $path ) | Cleans a string so that it is truly a path relevant to the class. |
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-09-11