View

interface View implements Renderable (View source)

Methods

string render()

Get the evaluated contents of the object.

from Renderable
string name()

Get the name of the view.

$this with(string|array $key, mixed $value = null)

Add a piece of data to the view.

Details

string render()

Get the evaluated contents of the object.

Return Value

string

string name()

Get the name of the view.

Return Value

string

$this with(string|array $key, mixed $value = null)

Add a piece of data to the view.

Parameters

string|array $key
mixed $value

Return Value

$this

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Contracts/View/View.html