2017 © Pedro Peláez
 

library config

Description of project Config.

image

dschoenbauer/config

Description of project Config.

  • Friday, March 16, 2018
  • by dschoenbauer
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Config

A common library to load a directory full of JSON files into a massive array that can be accessed., (*1)

Build Status Coverage Status License Downloads Version, (*2)

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.

The Versions

16/03 2018
16/03 2018
16/03 2018

dev-bug/7-improve-requirements

dev-bug/7-improve-requirements

Description of project Config.

  Sources   Download

The Requires

 

The Development Requires

by David Schoenbauer