public function __construct(ChameleonTemplate $template, \DOMElement $domElement = null, $indent = 0)
 {
     if (!is_null($domElement)) {
         $span = $domElement->getAttribute('span');
         if (!is_int($span) && !ctype_digit($span) || $span < 1 || $span > 12) {
             $span = '12';
         }
     } else {
         $span = '12';
     }
     parent::__construct($template, $domElement, $indent);
     $this->addClasses("col-lg-{$span}");
 }
 public function __construct(ChameleonTemplate $template, \DOMElement $domElement = null, $indent = 0)
 {
     parent::__construct($template, $domElement, $indent);
     $this->addClasses('row');
 }