private static function open(TagInterface $tag, $autoClosed = false)
    {
        $output =  '<' . $tag->getType();

        if ($tag->hasAttributes()) {
            $output .= ' ' . $tag->renderAttributes();
        }

        $output .= ($autoClosed ? '/>' : '>');

        return $output;
    }
private static function open(TagInterface $tag, $autoClosed = false)
    {
        $output =  '<' . $tag->getType();

        if ($tag->hasAttributes()) {
            $output .= ' ' . $tag->renderAttributes();
        }

        $output .= ($autoClosed ? '/>' : '>');

        return $output;
    }
private static function open ( TagInterface $ tag , $ autoClosed = false ) { $ output = '<' . $ tag -> getType ( ) ; if ( $ tag -> hasAttributes ( ) ) { $ output .= ' ' . $ tag -> renderAttributes ( ) ; } $ output .= ( $ autoClosed ? '/>' : '>' ) ; return $ output ; }
Render open Tag

@param TagInterface $tag
@param bool         $autoClosed

@return string
Render open Tag