Tag: PHP

Registry Pattern Hinting with PHPStorm

You probably use the registry pattern. Having a common place to store components you’ll need throughout your application is a must. The most frustrating part about this pattern is your IDE probably doesn’t know what you are putting in or getting back out. Our most common case is the Doctrine EntityManager, but this easily applies

Continue Reading →