- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
27 lines
433 B
PHP
27 lines
433 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Framework\View;
|
|
|
|
/**
|
|
* Wrapper für HTML-Inhalte, die nicht escaped werden sollen
|
|
*/
|
|
final readonly class RawHtml
|
|
{
|
|
public function __construct(
|
|
public string $content
|
|
) {
|
|
}
|
|
|
|
public function __toString(): string
|
|
{
|
|
return $this->content;
|
|
}
|
|
|
|
public static function from(string $content): self
|
|
{
|
|
return new self($content);
|
|
}
|
|
}
|