Documentation

PageFactory
in package

Read onlyYes
FinalYes

Table of Contents

Properties

$formatter  : EntPageTitleFormatter

Methods

__construct()  : mixed
getPage()  : null|Page|PageEntTitleErr

Properties

Methods

getPage()

public getPage(Route $route) : null|Page|PageEntTitleErr
Parameters
$route : Route
Tags
todo

Find a way to type that return type depends on routedef's pageTitle type.

Return values
null|Page|PageEntTitleErr

The page extracted from the route and its definition, null if the definition does not provide any controller, or PageEntTitleErr if there was a problem formatting the title for the page when an entity was requested.

On this page

Search results