Adapter/PlentymarketsAdapter/ServiceBus/QueryHandler/Unit/FetchAllUnitsQueryHandler.php
public function handle(QueryInterface $query)
    {
        $elements = $this->unitApi->findAll();

        foreach ($elements as $element) {
            $result = $this->responseParser->parse($element);

            if (null === $result) {
                continue;
            }

            yield $result;
        }
    }
public function handle(QueryInterface $query)
    {
        $elements = $this->unitApi->findAll();

        foreach ($elements as $element) {
            $result = $this->responseParser->parse($element);

            if (null === $result) {
                continue;
            }

            yield $result;
        }
    }
{@inheritdoc}