Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
26
src/Framework/View/RawHtml.php
Normal file
26
src/Framework/View/RawHtml.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user