src/Mapper/ImportMysqlMapper.php
public function getRows($query) {
        try {
            $stmt = $this->db->query($query);
            return $stmt->fetchAll(PDO::FETCH_ASSOC);
        } catch (Exception $e) {
            return [];
        }
    }
public function getRows($query) {
        try {
            $stmt = $this->db->query($query);
            return $stmt->fetchAll(PDO::FETCH_ASSOC);
        } catch (Exception $e) {
            return [];
        }
    }
public function getRows ( $ query ) { try { $ stmt = $ this -> db -> query ( $ query ) ; return $ stmt -> fetchAll ( PDO :: FETCH_ASSOC ) ; } catch ( Exception $ e ) { return [ ] ; } }
Get rows of data by query

@param string $query
Get rows of data by query