Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AttributeProcessor.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
13 
20 {
24  public function process(
27  array $attributeNames
28  ): Collection {
29  foreach ($attributeNames as $name) {
30  $collection->addAttributeToSelect($name);
31  }
32 
33  return $collection;
34  }
35 }
process(Collection $collection, SearchCriteriaInterface $searchCriteria, array $attributeNames)
$searchCriteria
if(!isset($_GET['name'])) $name
Definition: log.php:14