Continuing the design patterns in PHP posts, we are going to focus today on the Registry pattern and how we are using it in Phalcon. In the Gateway post we put each payment provider behind one interface. Today we will use a registry to pick the right provider by name, while the application runs.