Doctrine DBAL and the LIKE operator

Doctrine is a great abstraction layer, and I've resolved to use it more and more through my projects to keep things simple and maintainable. ┬áThe problem is, the documentation isn't always great for it. Take the below image as an example of the documentation for the building a "LIKE" clause…