Custom override matcher

In this tutorial we will look at how you can create your own matcher for overrides.

For this example we will create a matcher that uses a regular expressions to check the path which is called. We will get into the reason behind this in the first step.

The code I'm about to showcase is currently used as is for the landingpage of this site.
The bundle serving the matcher is the IntProgCoreBundle whilst the matcher is used by IntProgDesignBundle.