interface Illuminate / Contracts / View / View

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.