\Trismegiste\Mondrian\ConfigHelper

Helper is a Facade for the config heavy machinery

Summary

Methods
Properties
Constants
getConfig()
getGraphConfig()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getConfig()

getConfig(string  $dir) : array

Read the config

Parameters

string $dir

filepath to the package directory

Throws

\DomainException

if the config is invalid

Returns

array —

the full config

getGraphConfig()

getGraphConfig(string  $dir) : array

Get the graph configuration

Parameters

string $dir

filepath to the package directory

Returns

array —

the full config