public static function parseFragments(array $rawData = [])
    {
        $fragments = [];
        foreach ($rawData as $type => $value) {
            // Skipp Custom values
            if(!is_array($value)) continue;

            $fragments[] = RichText::asHtml($value);
        }

        return $fragments;
    }
public static function parseFragments(array $rawData = [])
    {
        $fragments = [];
        foreach ($rawData as $type => $value) {
            // Skipp Custom values
            if(!is_array($value)) continue;

            $fragments[] = RichText::asHtml($value);
        }

        return $fragments;
    }
public static function parseFragments ( array $ rawData = [ ] ) { $ fragments = [ ] ; foreach ( $ rawData as $ type => $ value ) { // Skipp Custom values if ( ! is_array ( $ value ) ) continue ; $ fragments [ ] = RichText :: asHtml ( $ value ) ; } return $ fragments ; }
Parse fragments from a json document. For internal usage.

@param array $rawData

@return array
Parse fragments from a json document . For internal usage .