You can make your code more readable by moving all your exception messages to dedicated classes. We using this technique in all our projects and packages.

Categories: PHP