View
extends
Renderable
in
Table of Contents
- name() : string
- Get the name of the view.
- render() : string
- Get the evaluated contents of the object.
- with() : $this
- Add a piece of data to the view.
Methods
name()
Get the name of the view.
public
name() : string
Return values
string —render()
Get the evaluated contents of the object.
public
render() : string
Return values
string —with()
Add a piece of data to the view.
public
with(string|array<string|int, mixed> $key[, mixed $value = null ]) : $this
Parameters
- $key : string|array<string|int, mixed>
- $value : mixed = null