Example #1
0
 /**
  * Magic method to create new instances using the API Element::div(bool $close).
  *
  * @return Element
  */
 public static function __callStatic($name, $arguments)
 {
     $element = new self();
     $element->setElementName($name, !empty($arguments[0]));
     return $element;
 }