$stack : boolean
This is the Html class.
It helps you build html elements with a logical and simple syntax.
This class doesn't not contain any actual methods, but instead using
the magic method __call($method,$args) we can build any specified html
element from a mocked method.
$img = Html::img(Array('src'=>'/example.png')); $div = Html::div('cool div');
__call(string $method, Array $args) : string
The magic method __call() allows us to treat any method that is called as the intented html element to be created.
If $args is an Array then $args will be treated as properties to be included on the element containing content specified in $args. Otherwise $args will be treated as the content of the element.
The method name called and also the intented html element to return.
The arguements passed to $method.