openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

Newline.class.php (321B)


      1 <?php
      2 
      3 namespace template_engine\components;
      4 
      5 use template_engine\components\html\Component;
      6 use template_engine\element\Element;
      7 use template_engine\element\HtmlElement;
      8 
      9 /**
     10  * Newline-Component
     11  */
     12 class NewlineComponent extends Component
     13 {
     14 
     15 	public function createElement()
     16 	{
     17 		return (new HtmlElement('br'));
     18 	}
     19 }
     20