/**
  * {@inheritdoc}
  */
 public function read()
 {
     $entities = [];
     while ($entity = parent::read()) {
         $entities[] = $entity;
     }
     return empty($entities) ? null : $entities;
 }
 /**
  * {@inheritdoc}
  */
 public function read()
 {
     $attribute = parent::read();
     $attributeMapping = $this->attributeCodeMappingMerger->getMapping();
     while ($attribute !== null && $this->isAttributeIgnored($attribute, $attributeMapping)) {
         $attribute = parent::read();
     }
     return $attribute;
 }
 /**
  * @return array|mixed|null
  */
 public function read()
 {
     $entities = [];
     while ($entity = parent::read()) {
         $entities[] = $entity;
         $this->stepExecution->incrementReadCount();
     }
     return empty($entities) ? null : $entities;
 }