public static function getAll($mapping) {
        $mappingsArray = array();

        foreach ($mapping as $mappedEntity) {
            $instance = new Mapper();
            self::populateInstance($instance, $mappedEntity);
            $mappingsArray[] = $instance;
        }
        return $mappingsArray;
    }