Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace Termwind\Components;
6
 
7
/**
8
 * @internal
9
 */
10
final class Raw extends Element
11
{
12
    /**
13
     * Get the string representation of the element.
14
     */
15
    public function toString(): string
16
    {
17
        return is_array($this->content) ? implode('', $this->content) : $this->content;
18
    }
19
}