View.view

Retrieves a view by name. This wraps around getView.

class View
final
view
(
string name
,
bool checkRoute = false
)

Parameters

name string

The name of the view to retrieve.

checkRoute bool

Boolean determining whether the name should be checked upon default routes. (Value doesn't matter if it isn't a webserver.)

Return Value

Type: auto

The view.

Meta