web-base/core/Elements/Style.class.php
2020-02-09 23:02:19 +01:00

20 lines
255 B
PHP

<?php
namespace Elements;
class Style extends Source {
private $style;
function __construct($style) {
parent::__construct('style', '');
$this->style = $style;
}
function getCode() {
return "<style>$this->style</style>";
}
}
?>