Phalcon's DI Container: Service Location, Lazy Loading, and the Trade-offs of FactoryDefault
Phalcon's DI container offers lazy loading, shared/non-shared services, and PSR-11 support. FactoryDefault pre-registers ~30 services, which can bloat micro-apps and obscure dependencies. Learn registration modes, wiring with named parameters, and why constructor injection belongs in domain code.