feat(di): add proactive initializer finder for interface resolution

- Add ProactiveInitializerFinder to search for initializers when not found in registry
- Add InitializerInfo value object to store initializer metadata
- Implement multi-step search strategy: DefaultImplementation, naming convention, directory, subdirectories, module
- Integrate proactive finder into DefaultContainer for better interface resolution
- Simplify AppBootstrapper by moving initialization logic to DefaultContainer
- Improve error messages in ClassNotInstantiable with proactive finder context
This commit is contained in:
2025-11-03 17:45:47 +01:00
parent 8c264f3781
commit 9cad445aaf
7 changed files with 476 additions and 113 deletions

View File

@@ -11,16 +11,6 @@ use App\Framework\Performance\MemoryMonitor;
require __DIR__ . '/../vendor/autoload.php';
require __DIR__ . '/../src/Framework/Debug/helpers.php';
error_log('Starting application...');
error_log("------ ENVIRONMENT VARIABLES ------");
error_log(print_r($_ENV, true));
error_log("------ SERVER VARIABLES ------");
error_log(print_r($_SERVER, true));
// Anwendung initialisieren und ausführen
$basePath = dirname(__DIR__);
// Create dependencies for enhanced performance collector