first commit
This commit is contained in:
19
vendor/nunomaduro/termwind/src/Components/Raw.php
vendored
Normal file
19
vendor/nunomaduro/termwind/src/Components/Raw.php
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user