Removing Laravel-specific syntax from example