phpDocumentor

Configuration implements ConfigurationInterface

FinalYes

Symfony DI-extension configuration for {@see ApplicationExtension}.

This class exposes the same tree as the phpdoc.xml v3 schema so that the ApplicationExtension can:

  • validate and merge configs contributed via prepend() by any extension, and
  • store the result as the container parameter "phpdocumentor.config" before the container is compiled.

Deliberately does NOT apply value-object normalisation (Dsn/Path objects). All values are kept as plain strings/arrays so that they can safely live as container parameters. Value-object creation remains in the service layer (ConfigurationFactory::createConfigurationFromArray()).

Table of Contents

Interfaces

ConfigurationInterface

Constants

DEFAULT_TEMPLATE_NAME  : mixed = 'default'
The default template name used when none is specified in phpdoc.xml.

Methods

getConfigTreeBuilder()  : TreeBuilder

Constants

DEFAULT_TEMPLATE_NAME

The default template name used when none is specified in phpdoc.xml.

public mixed DEFAULT_TEMPLATE_NAME = 'default'

Methods

getConfigTreeBuilder()

public getConfigTreeBuilder() : TreeBuilder
Return values
TreeBuilder
On this page

Search results