Guides

RenderPagesListener
in package

FinalYes

Renders all standalone pages and content-type items — including overview pages — after the main documentation has been rendered.

Triggered by PostRenderProcess, this listener:

  1. Guards against non-HTML output formats.
  2. Iterates over all renderables (PagesRegistry::getAllRenderables()) and delegates each one to the format-specific DelegatingNodeRenderer (page format), which in turn dispatches to PageNodeRenderer. This includes ContentTypeOverviewNode instances created during the parse phase by ParseContentTypeListener. Template resolution is entirely node-driven — no template logic lives here.
  3. Writes each rendered HTML file to the destination filesystem.

Table of Contents

Properties

$delegatingRenderer  : DelegatingNodeRenderer
$logger  : LoggerInterface
$registry  : PagesRegistry

Methods

__construct()  : mixed
__invoke()  : void
buildContext()  : RenderContext

Properties

Methods

On this page

Search results