interface
Illuminate
/
Contracts
/
View
/
View
You are viewing an older version of the documentation. For the latest, please visit master documentation.
View
Methods
public
name ( ) : string
Get the name of the view.
public
with ( $key , $value ) : $this
Add a piece of data to the view.
Parameters
- $key string|array
- $value mixed
public
getData ( ) : array
Get the array of view data.