Basic online search with bugs...
This commit is contained in:
@@ -13,14 +13,14 @@ class IkeaPrices extends Command
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'ikea:prices {article}';
|
||||
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Get Ikea Prices';
|
||||
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
@@ -30,9 +30,9 @@ class IkeaPrices extends Command
|
||||
{
|
||||
$article = $this->argument('article');
|
||||
$responses = $countryCompareController->makeRequests($article);
|
||||
$prices = $countryCompareController->processResponse($responses,$article);
|
||||
//dd($prices);
|
||||
return 0;
|
||||
$products = $countryCompareController->processResponse($responses,$article);
|
||||
|
||||
dd($products);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user