Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • ArrayNode
  • BaseNode
  • BooleanNode
  • EnumNode
  • FloatNode
  • IntegerNode
  • NumericNode
  • Processor
  • PrototypedArrayNode
  • ReferenceDumper
  • ScalarNode
  • VariableNode

Interfaces

  • ConfigurationInterface
  • NodeInterface
  • PrototypeNodeInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Processor

This class is the entry point for config normalization/merging/finalization.

Namespace: Symfony\Component\Config\Definition
Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Located at config/Symfony/Component/Config/Definition/Processor.php
Methods summary
public array
# process( Symfony\Component\Config\Definition\NodeInterface $configTree, array $configs )

Processes an array of configurations.

Processes an array of configurations.

Parameters

$configTree
Symfony\Component\Config\Definition\NodeInterface
$configTree The node tree describing the configuration
$configs
array
$configs An array of configuration items to process

Returns

array
The processed configuration
public array
# processConfiguration( Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs )

Processes an array of configurations.

Processes an array of configurations.

Parameters

$configuration
Symfony\Component\Config\Definition\ConfigurationInterface
$configuration The configuration class
$configs
array
$configs An array of configuration items to process

Returns

array
The processed configuration
public static array
# normalizeConfig( array $config, string $key, string $plural = null )

Normalizes a configuration entry.

Normalizes a configuration entry.

This method returns a normalize configuration array for a given key to remove the differences due to the original format (YAML and XML mainly).

Here is an example.

The configuration in XML:

<twig:extension>twig.extension.foo</twig:extension> <twig:extension>twig.extension.bar</twig:extension>

And the same configuration in YAML:

extensions: ['twig.extension.foo', 'twig.extension.bar']

Parameters

$config
array
$config A config array
$key
string
$key The key to normalize
$plural
string
$plural The plural form of the key if it is irregular

Returns

array
php-coveralls API documentation generated by ApiGen 2.8.0