View
interface View implements Renderable (View source)
Methods
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.
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.