interface View implements Renderable

Methods

string
render()

Get the evaluated contents of the object.

string
name()

Get the name of the view.

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

Add a piece of data to the view.

array
getData()

Get the array of view data.

string
getPath()

Get the path to the view file.

Details

in Renderable at line 12
string render()

Get the evaluated contents of the object.

Return Value

string

at line 14
string name()

Get the name of the view.

Return Value

string

at line 19
View with(string|array $key, mixed $value = null)

Add a piece of data to the view.

Parameters

string|array $key
mixed $value

Return Value

View

at line 24
array getData()

Get the array of view data.

Return Value

array

at line 29
string getPath()

Get the path to the view file.

Return Value

string