Posts Tagged ‘Dependency Injection’
Type Declarations using Interfaces in PHP
I’ve recently completed a preliminary code audit on an existing WordPress plugin, and one of the goals I’ve set for that audit was to decouple the code from the JavaScript library it was using, so that it could easily be extended to support future versions of that library. A question came back about the constructor syntax…
Read More