Skip to content

Instantly share code, notes, and snippets.

@iRynoh
Created February 12, 2019 19:54
Show Gist options
  • Save iRynoh/da3a30056f74689e4c29843d581cfc28 to your computer and use it in GitHub Desktop.
Save iRynoh/da3a30056f74689e4c29843d581cfc28 to your computer and use it in GitHub Desktop.
answer #2
<?php
$productNames = $data->pluck('product_name')->toArray();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment