Remove the vendor directory in .gitignore as these dependencies are needed for php-imap

This commit is contained in:
johnnyq
2024-06-12 16:15:10 -04:00
parent 779527cf6a
commit 2edd39c16d
2890 changed files with 248719 additions and 2 deletions

View File

@@ -0,0 +1,67 @@
<?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
* @return void
*/
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();
}
}