Closed HexMakina closed 1 year ago
what happens when get($string)
isset in the configuration array ? returns conf[$string];
starts with 'settings' ? getSettings($string)
starts with 'Controllers\' or 'Models\' ? cascade($string) and getInstance($class_name)
ends with 'Interface' looks in wire array and getInstance($class_name)
ends with 'Class' returns cascade($string)
what happens when get($string)
isset in the configuration array ? returns conf[$string];
starts with 'settings' ? getSettings($string)
starts with 'Controllers\' or 'Models\' ? cascade($string) and getInstance($class_name)
ends with 'Interface' looks in wire array and getInstance($class_name)
ends with 'Class' returns cascade($string)