public static function validateMeta(array &$array)
    {

        foreach ($array as $key => $tag) {
            if (!($tag instanceof Meta)) {
                $newtag = new Meta($tag);
                $array[$key] = $newtag;
            }
        }
    }
public static function validateMeta(array &$array)
    {

        foreach ($array as $key => $tag) {
            if (!($tag instanceof Meta)) {
                $newtag = new Meta($tag);
                $array[$key] = $newtag;
            }
        }
    }
public static function validateMeta ( array & $ array ) { foreach ( $ array as $ key => $ tag ) { if ( ! ( $ tag instanceof Meta ) ) { $ newtag = new Meta ( $ tag ) ; $ array [ $ key ] = $ newtag ; } } }
Validates that the given array contains all valid Meta entries

@param array &$array An array of strings or Meta objects

@return void
@throws Exception if any items are invalid.
Validates that the given array contains all valid Meta entries