master

laravel/framework

Last updated at: 29/12/2023 09:21

Htmlable.php

TLDR

This file contains an interface called Htmlable in the Illuminate\Contracts\Support namespace. It defines a method toHtml() that returns the content as a string of HTML.

Methods

toHtml()

Returns the content as a string of HTML.

Classes

No classes found in this file.

<?php

namespace Illuminate\Contracts\Support;

interface Htmlable
{
    /**
     * Get content as a string of HTML.
     *
     * @return string
     */
    public function toHtml();
}