17 lines
218 B
PHP
17 lines
218 B
PHP
<?php
|
|
|
|
namespace Elements;
|
|
|
|
class Style extends View {
|
|
|
|
private string $style;
|
|
|
|
function __construct($style) {
|
|
$this->style = $style;
|
|
}
|
|
|
|
function getCode() {
|
|
return "<style>$this->style</style>";
|
|
}
|
|
}
|