PagesSourceInterface
in
Interface PagesSourceInterface
Table of Contents
Methods
- get() : PageInterface|null
- Get the page for the given route.
- getChecksum() : string
- Get checksum for the page source.
- getChildren() : array<string|int, mixed>
- Get the children for the given route.
- getTimestamp() : int
- Get timestamp for the page source.
- has() : bool
- Returns true if the source contains a page for the given route.
Methods
get()
Get the page for the given route.
public
get(string $route) : PageInterface|null
Parameters
- $route : string
Return values
PageInterface|nullgetChecksum()
Get checksum for the page source.
public
getChecksum() : string
Return values
stringgetChildren()
Get the children for the given route.
public
getChildren(string $route[, array<string|int, mixed>|null $options = null ]) : array<string|int, mixed>
Parameters
- $route : string
- $options : array<string|int, mixed>|null = null
Return values
array<string|int, mixed>getTimestamp()
Get timestamp for the page source.
public
getTimestamp() : int
Return values
inthas()
Returns true if the source contains a page for the given route.
public
has(string $route) : bool
Parameters
- $route : string