interface View implements Renderable (View source)

Methods

string
render()

Get the evaluated contents of the object.

string
name()

Get the name of the view.

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

Add a piece of data to the view.

array
getData()

Get the array of view data.

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

array getData()

Get the array of view data.

Return Value

array