src/Repository/TranslationRepository.php
protected function mapTranslationDataResult(array $translationData): array
    {
        $result = [];
        foreach ($translationData as $data) {
            $result[] = TranslationData::createFromArray($data);
        }
        return $result;
    }
protected function mapTranslationDataResult(array $translationData): array
    {
        $result = [];
        foreach ($translationData as $data) {
            $result[] = TranslationData::createFromArray($data);
        }
        return $result;
    }
protected function mapTranslationDataResult ( array $ translationData ) : array { $ result = [ ] ; foreach ( $ translationData as $ data ) { $ result [ ] = TranslationData :: createFromArray ( $ data ) ; } return $ result ; }
Maps the query result to instances of TranslationData.
@param array $translationData
@return array|TranslationData[]
Maps the query result to instances of TranslationData .