public function tag($name, $content, $attributes = array())
    {
        static $instance;

        $instance = $instance ? clone $instance : new LibBaseTemplateHelperHtmlElement();
        $instance->name = $name;
        $instance->content = $content;
        $instance->attributes = $attributes;

        return $instance;
    }
public function tag($name, $content, $attributes = array())
    {
        static $instance;

        $instance = $instance ? clone $instance : new LibBaseTemplateHelperHtmlElement();
        $instance->name = $name;
        $instance->content = $content;
        $instance->attributes = $attributes;

        return $instance;
    }
public function tag ( $ name , $ content , $ attributes = array ( ) ) { static $ instance ; $ instance = $ instance ? clone $ instance : new LibBaseTemplateHelperHtmlElement ( ) ; $ instance -> name = $ name ; $ instance -> content = $ content ; $ instance -> attributes = $ attributes ; return $ instance ; }
Return a tag object. This method clones a prototype tag instead of instantiating a new tag to optimize
memory and speed consumption.

@param $name string
@param $content string
@param $attributes array

@return LibBaseTemplateHelperHtmlElement
Return a tag object . This method clones a prototype tag instead of instantiating a new tag to optimize memory and speed consumption .