Open ragboyjr opened 7 years ago
In addition, Paths should also be managed in a separate class and with an interface. Might even make a new repo for the paths.
Maybe define paths like
$app->addPath('config', 'base', '/config')
// or
$app->addPath('config', ['base', '/config'])
Offer a better way for defining path groups and relative paths.
So, maybe allow
$app->addPath('config', '{base}/config')
and even if the base path changes or is redefined, the config path will still be valid.