Closed thekid closed 6 years ago
To integrate well with xp-forge/inject
, the ClassesIn
constructor accepts an optional creation function. Usage example:
$inject= new Injector(...);
$frontend= new Frontend(new ClassesIn('actions', [$inject, 'get']), $templates);
Adds shorthand alternative to manually entering all routes: