25 lines
416 B
PHP
25 lines
416 B
PHP
<?php
|
|
|
|
namespace FML\Elements;
|
|
|
|
/**
|
|
* Class representing a format
|
|
*
|
|
* @author steeffeen
|
|
*/
|
|
class Format implements BgColorable, Renderable, Styleable, TextFormatable {
|
|
/**
|
|
* Protected properties
|
|
*/
|
|
protected $tagName = 'format';
|
|
|
|
/**
|
|
*
|
|
* @see \FML\Renderable::render()
|
|
*/
|
|
public function render(\DOMDocument $domDocument) {
|
|
$xml = $domDocument->createElement($this->tagName);
|
|
return $xml;
|
|
}
|
|
}
|