As our code currently rests, there's a violation of the single responsibility priniciple. To fix this, let's extract the transformation process into its own set of classes.
Published on Nov 11th, 2015.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.