github/vendor/nunomaduro/termwind/src/Components/Raw.php
2025-04-12 19:11:43 +08:00

20 lines
330 B
PHP
Executable File

<?php
declare(strict_types=1);
namespace Termwind\Components;
/**
* @internal
*/
final class Raw extends Element
{
/**
* Get the string representation of the element.
*/
public function toString(): string
{
return is_array($this->content) ? implode('', $this->content) : $this->content;
}
}