title: What is `HtmlString` used for in Laravel?
body: <p>This class: <a href="https://laravel.com/api/5.2/Illuminate/Support/HtmlString.html" rel="noreferrer">HtmlString</a></p>
  
  <pre>
  &lt;?php
  
  namespace Illuminate\Support;
  
  use Illuminate\Contracts\Support\Htmlable;
  
  class HtmlString implements Htmlable
  {
      /**
       * 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;
      }
  
      /**
       * Get the HTML string.
       *
       * @return string
       */
      public function __toString()
      {
          return $this->toHtml();
      }
  }</pre>
  
  <p>use:</p>
  
  <pre>    function csrf_field()
      {
          return new HtmlString('&lt;input type="hidden" name="_token" value="'.csrf_token().'"&gt;');
      }</pre>
  
  <p>It does nothing but "construct" an string and return the string itself!</p>
  
  <p>Can anyone explain it? Thanks a lot :)</p>