mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
24 lines
No EOL
467 B
PHP
24 lines
No EOL
467 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Yggverse\Yoda\Entity\Browser\Container\Page\Content;
|
|
|
|
use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Content\Markup;
|
|
|
|
class Plain extends Markup
|
|
{
|
|
public function setSource(
|
|
string $value
|
|
): void
|
|
{
|
|
$this->gtk->set_markup(
|
|
sprintf(
|
|
'<tt>%s</tt>',
|
|
htmlspecialchars(
|
|
$value
|
|
)
|
|
)
|
|
);
|
|
}
|
|
} |