2014-01-12 00:51:46 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\ManiaCode;
|
|
|
|
|
2014-04-13 18:21:40 +02:00
|
|
|
/**
|
|
|
|
* Base ManiaCode Element
|
|
|
|
*
|
2014-06-21 03:18:21 +02:00
|
|
|
* @author steeffeen
|
2014-04-13 18:21:40 +02:00
|
|
|
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
2014-06-21 03:18:21 +02:00
|
|
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
2014-04-13 18:21:40 +02:00
|
|
|
*/
|
2014-01-12 00:51:46 +01:00
|
|
|
interface Element {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Render the ManiaCode Element
|
|
|
|
*
|
2014-06-21 03:18:21 +02:00
|
|
|
* @param \DOMDocument $domDocument The DOMDocument for which the Element should be rendered
|
2014-01-12 00:51:46 +01:00
|
|
|
* @return \DOMElement
|
|
|
|
*/
|
|
|
|
public function render(\DOMDocument $domDocument);
|
|
|
|
}
|