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