Description
Till now we had the following in all our app templates
if (PHP_SAPI !== 'cli') {
FactoryLocator::add('Table', (new TableLocator())->allowFallbackClass(false));
}
but to clean this up (and don't make users questions why this kind of weird code is in the app template) we could move this to the bootstrap hook of the plugin via just adding
// We need fallback classes for baking code
FactoryLocator::add('Table', (new TableLocator())->allowFallbackClass(true));
Description
Till now we had the following in all our app templates
but to clean this up (and don't make users questions why this kind of weird code is in the app template) we could move this to the bootstrap hook of the plugin via just adding