Laravel / March 19, 2014

Use statements in code design

Rob Allen writing about use statements in code design. I came to the same conclusion as Rob and much prefer importing them at the top instead of inline.

If you are using PhpStorm you can set it to automatically move these:
Preferences -> IDE -> Editor -> Auto Import

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.