public function parseAttributes($attributes)
    {
        if($attributes) {
            $htmlMeta = ' ';
            foreach ($attributes as $key => $value) {
                // false async means no async
                if ($key == 'async' && $value == false) {
                    continue;
                }
                //convert boolean to string
                if ($value === false) {
                    $value = 'false';
                } else if ($value === true) {
                    $value = 'true';
                }

                $htmlMeta .= $key . '="' . $value . '" ';
            }
            return $htmlMeta;

        }
        return;
    }
public function parseAttributes($attributes)
    {
        if($attributes) {
            $htmlMeta = ' ';
            foreach ($attributes as $key => $value) {
                // false async means no async
                if ($key == 'async' && $value == false) {
                    continue;
                }
                //convert boolean to string
                if ($value === false) {
                    $value = 'false';
                } else if ($value === true) {
                    $value = 'true';
                }

                $htmlMeta .= $key . '="' . $value . '" ';
            }
            return $htmlMeta;

        }
        return;
    }
public function parseAttributes ( $ attributes ) { if ( $ attributes ) { $ htmlMeta = ' ' ; foreach ( $ attributes as $ key => $ value ) { // false async means no async if ( $ key == 'async' && $ value == false ) { continue ; } //convert boolean to string if ( $ value === false ) { $ value = 'false' ; } else if ( $ value === true ) { $ value = 'true' ; } $ htmlMeta .= $ key . '="' . $ value . '" ' ; } return $ htmlMeta ; } return ; }
Parse a list of array as meta tags

@param  array $attributes
@return string in form of param="value"
Parse a list of array as meta tags