Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.60 KB | None | 0 0
  1.         $parsed = @FileParser::instance()
  2.             ->setFile($client->url, '   ')
  3.             ->setEncoding('ISO-8859-1', 'UTF-8')
  4.             ->toObject([
  5.                 'id',
  6.                 'title',
  7.                'description',
  8.                 'link',
  9.                 'image_link',
  10.                 'availability',
  11.                 'price',
  12.                 'item_group_id',
  13.                 'google_product_category',
  14.                 'brand',
  15.                 'mpn',
  16.                 'condition',
  17.                 'shipping',
  18.                 'custom_label_0'
  19.             ])
  20.             ->parse();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement