| Total Complexity | 2 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | class MixedElement extends \Kristuff\Phtemail\Core\HtmlElement |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @access protected |
||
| 30 | * @var string $tag |
||
| 31 | */ |
||
| 32 | protected $tag = ''; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @access protected |
||
| 36 | * @var string $content |
||
| 37 | */ |
||
| 38 | protected $content = ''; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Constructor |
||
| 42 | * |
||
| 43 | * @access public |
||
| 44 | * @param string $tag The html tag |
||
| 45 | * @param string $content The element content |
||
| 46 | * @param array $styles The inline styles |
||
| 47 | */ |
||
| 48 | public function __construct(string $tag, string $content = '', array $styles = []) |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Get the HTML |
||
| 57 | * |
||
| 58 | * @access public |
||
| 59 | * @param string $indent |
||
| 60 | * |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function getHtml(string $indent = '') |
||
| 66 | } |
||
| 67 | } |