🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:HtmlString.php
<?php namespace Illuminate\Support; use Illuminate\Contracts\Support\Htmlable; use Stringable; class HtmlString implements Htmlable, Stringable { /** * The HTML string. * * @var string */ protected $html; /** * Create a new HTML string instance. * * @param string $html */ public function __construct($html = '') { $this->html = $html; } /** * Get the HTML string. * * @return string */ public function toHtml() { return $this->html; } /** * Determine if the given HTML string is empty. * * @return bool */ public function isEmpty() { return ($this->html ?? '') === ''; } /** * Determine if the given HTML string is not empty. * * @return bool */ public function isNotEmpty() { return ! $this->isEmpty(); } /** * Get the HTML string. * * @return string */ public function __toString() { return $this->toHtml() ?? ''; } }
Save Changes
Cancel
Create New File
Create New Folder