Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./nikic/../dompdf/../alexandr-mironov/../monolog/../unicodeveloper/../dragonmantank/../telnyx/../filp/../phpstan/../nikic/../psy/../lcobucci/../laminas/../guzzlehttp/../nunomaduro/termwind/src/Components
الملفات الموجودة في هذا الـ Path:
.
..
Anchor.php
BreakLine.php
Dd.php
Div.php
Dl.php
Dt.php
Element.php
Hr.php
Li.php
Ol.php
Paragraph.php
Raw.php
Span.php
Ul.php
مشاهدة ملف: BreakLine.php
<?php
declare(strict_types=1);
namespace Termwind\Components;
final class BreakLine extends Element
{
/**
* Get the string representation of the element.
*/
public function toString(): string
{
$display = $this->styles->getProperties()['styles']['display'] ?? 'inline';
if ($display === 'hidden') {
return '';
}
if ($display === 'block') {
return parent::toString();
}
return parent::toString()."\r";
}
}