EmptyElement.class.php (388B)
1 <?php 2 3 4 namespace template_engine\element; 5 6 7 use template_engine\element\attribute\SimpleAttribute; 8 9 10 /** 11 * An empty element. 12 * 13 * 'empty' means, the element has no tag and no text content. But it may (and should) contain child elements. 14 * 15 * @package modules\template_engine 16 */ 17 class EmptyElement extends Element 18 { 19 public function __construct() 20 { 21 parent::__construct(null); 22 } 23 }