Basic online search with bugs...

This commit is contained in:
2024-02-04 19:35:22 +01:00
parent d1f5810635
commit 354ac8a242
11 changed files with 549 additions and 96 deletions

View File

@@ -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);
}
}