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