Documentation

PagesSourceInterface

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

getChecksum()

Get checksum for the page source.

public getChecksum() : string
Return values
string

getChildren()

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
int

has()

Returns true if the source contains a page for the given route.

public has(string $route) : bool
Parameters
$route : string
Return values
bool

        
On this page

Search results