RenderData
in package
implements
Arrayable
Contains data for the current page being rendered/compiled.
All public data here will be available in the Blade views through ManagesViewData::shareViewData().
Tags
Table of Contents
Interfaces
- Arrayable
Properties
Methods
- clearData() : void
- getPage() : HydePage|null
- getRoute() : Route|null
- getRouteKey() : string|null
- setPage() : void
- share() : void
- shareToView() : void
- toArray() : Route|null, routeKey: string|null}
Properties
$page
protected
HydePage
$page
$route
protected
Route
$route
$routeKey
protected
string
$routeKey
Methods
clearData()
public
clearData() : void
getPage()
public
getPage() : HydePage|null
Return values
HydePage|nullgetRoute()
public
getRoute() : Route|null
Return values
Route|nullgetRouteKey()
public
getRouteKey() : string|null
Return values
string|nullsetPage()
public
setPage(HydePage $page) : void
Parameters
- $page : HydePage
share()
public
share(string $key, HydePage|Route|string $value) : void
Parameters
shareToView()
public
shareToView() : void
toArray()
public
toArray() : Route|null, routeKey: string|null}