phpDocumentor

Version3
in package
implements ConfigurationInterface, Normalizable

FinalYes
Tags
psalm-type

BaseConfiguration = array

psalm-type

ConfigurationApiMap = array{ ignore-tags: list, extensions: non-empty-array, markers: list, visibility: non-empty-array, source: array{dsn: Dsn, paths: array<array-key, Path>}, ignore: array{ hidden: bool, symlinks: bool, paths: list }, ignore-tags: list, encoding: string, output: string, format: string, default-package-name: string, examples?: array{dsn: string, paths: array}, include-source: bool, validate: bool, visibility: non-empty-array<array-key, string> }

psalm-type

ConfigurationMap = array{ configVersion: string, title?: string, paths: array{output: Dsn, cache: Path}, versions: array< string, array{ number: string, folder: string, api: list<ConfigurationApiMap>, guides: list< array{ source: array{dsn: Dsn, paths: array<array-key, Path>}, output: string, format: string, } > } >, use-cache: bool, settings: array<string, mixed>, templates: non-empty-array< array{ name: string, location: ?Path, parameters: array<string, mixed> } > }

Table of Contents

Interfaces

ConfigurationInterface
Normalizable

Properties

$defaultTemplateName  : string

Methods

__construct()  : mixed
getConfigTreeBuilder()  : TreeBuilder
normalize()  : array<string|int, mixed>
apiSection()  : ArrayNodeDefinition
guideSection()  : ArrayNodeDefinition
paths()  : ArrayNodeDefinition
source()  : ArrayNodeDefinition

Properties

$defaultTemplateName read-only

private string $defaultTemplateName

This is injected so that the name of the default template can be defined globally in the app

Methods

__construct()

public __construct(string $defaultTemplateName) : mixed
Parameters
$defaultTemplateName : string

getConfigTreeBuilder()

public getConfigTreeBuilder() : TreeBuilder
Return values
TreeBuilder

normalize()

public normalize(array<string|int, mixed> $configuration) : array<string|int, mixed>
Parameters
$configuration : array<string|int, mixed>
Return values
array<string|int, mixed>

apiSection()

private apiSection() : ArrayNodeDefinition
Return values
ArrayNodeDefinition

guideSection()

private guideSection() : ArrayNodeDefinition
Return values
ArrayNodeDefinition

paths()

private paths([array<string|int, string> $defaultValue = [] ]) : ArrayNodeDefinition
Parameters
$defaultValue : array<string|int, string> = []
Return values
ArrayNodeDefinition

source()

private source([array<string|int, string> $defaultPaths = [] ]) : ArrayNodeDefinition
Parameters
$defaultPaths : array<string|int, string> = []
Return values
ArrayNodeDefinition

        
On this page

Search results