protected function getMappingData(): array
    {
        $mappings = [];

        foreach ($this->locator->getMappingFiles() as $mappingFile) {
            $mappings[] = $this->loadMappingFile($mappingFile);
        }

        $mappingData = [];
        foreach ($mappings as $mapping) {
            $mappingData = $this->mergeMappings($mappingData, $mapping);
        }

        return $mappingData;
    }
protected function getMappingData(): array
    {
        $mappings = [];

        foreach ($this->locator->getMappingFiles() as $mappingFile) {
            $mappings[] = $this->loadMappingFile($mappingFile);
        }

        $mappingData = [];
        foreach ($mappings as $mapping) {
            $mappingData = $this->mergeMappings($mappingData, $mapping);
        }

        return $mappingData;
    }
protected function getMappingData ( ) : array { $ mappings = [ ] ; foreach ( $ this -> locator -> getMappingFiles ( ) as $ mappingFile ) { $ mappings [ ] = $ this -> loadMappingFile ( $ mappingFile ) ; } $ mappingData = [ ] ; foreach ( $ mappings as $ mapping ) { $ mappingData = $ this -> mergeMappings ( $ mappingData , $ mapping ) ; } return $ mappingData ; }
Get mapping data.

@throws \Jgut\Mapping\Exception\DriverException

@return mixed[]
Get mapping data .