getAttributes();
}
/**
* Container constructor.
*
* @param string $tag
* @param Attributes|array $attributes
*
* @deprecated
*
* @return HtmlElement
*/
public function addElement($tag, $attributes = null)
{
$element = Html::tag($tag, $attributes);
$this->add($element);
return $element;
}
}