download($qualifiedVendorList); $configurations = $scraper->scrape($page); $selection = $configurations->filter(static function (MemoryConfiguration $memory) { in_array($memory->numberOfModules, [2, 4]) && $memory->totalSize >= 16 && $memory->speed >= 3600 && $memory->overclockingVerified; }); // data presentation $normalizer = new MemoryConfigurationNormalizer(); $normalizer = TweakersPricewatchUrl::decorate($normalizer); $encoderFactory = new EncoderFactory($normalizer); $encoding = $argv[1] ?? 'csv'; $encoder = $encoderFactory->getEncoder($encoding); print($encoder->encode($selection));