Connector/MappingService/MappingService.php
public function getMappingInformation($objectType = null)
    {
        Assertion::nullOrString($objectType);

        $definitions = $this->definitionProvider->getMappingDefinitions($objectType);

        if (empty($definitions)) {
            $this->logger->notice('No mappingdefinition found');
        }

        $result = [];

        foreach ($definitions as $definition) {
            $mapping = new Mapping();
            $mapping->setOriginAdapterName($definition->getOriginAdapterName());
            $mapping->setOriginTransferObjects($this->query($definition, $definition->getOriginAdapterName()));
            $mapping->setDestinationAdapterName($definition->getDestinationAdapterName());
            $mapping->setDestinationTransferObjects($this->query($definition, $definition->getDestinationAdapterName()));
            $mapping->setObjectType($definition->getObjectType());

            $this->validator->validate($mapping);

            $result[] = $mapping;
        }

        return $result;
    }
public function getMappingInformation($objectType = null)
    {
        Assertion::nullOrString($objectType);

        $definitions = $this->definitionProvider->getMappingDefinitions($objectType);

        if (empty($definitions)) {
            $this->logger->notice('No mappingdefinition found');
        }

        $result = [];

        foreach ($definitions as $definition) {
            $mapping = new Mapping();
            $mapping->setOriginAdapterName($definition->getOriginAdapterName());
            $mapping->setOriginTransferObjects($this->query($definition, $definition->getOriginAdapterName()));
            $mapping->setDestinationAdapterName($definition->getDestinationAdapterName());
            $mapping->setDestinationTransferObjects($this->query($definition, $definition->getDestinationAdapterName()));
            $mapping->setObjectType($definition->getObjectType());

            $this->validator->validate($mapping);

            $result[] = $mapping;
        }

        return $result;
    }
{@inheritdoc}