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

Interface NodeInterface

Common Interface among all nodes.

In most cases, it is better to inherit from BaseNode instead of implementing this interface yourself.

Direct known implementers

Symfony\Component\Config\Definition\BaseNode, Symfony\Component\Config\Definition\PrototypeNodeInterface

Indirect known implementers

Symfony\Component\Config\Definition\ArrayNode, Symfony\Component\Config\Definition\BooleanNode, Symfony\Component\Config\Definition\EnumNode, Symfony\Component\Config\Definition\FloatNode, Symfony\Component\Config\Definition\IntegerNode, Symfony\Component\Config\Definition\NumericNode, Symfony\Component\Config\Definition\PrototypedArrayNode, Symfony\Component\Config\Definition\ScalarNode, Symfony\Component\Config\Definition\VariableNode
Namespace: Symfony\Component\Config\Definition
Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Located at config/Symfony/Component/Config/Definition/NodeInterface.php
Methods summary
public string
# getName( )

Returns the name of the node.

Returns the name of the node.

Returns

string
The name of the node
public string
# getPath( )

Returns the path of the node.

Returns the path of the node.

Returns

string
The node path
public Boolean
# isRequired( )

Returns true when the node is required.

Returns true when the node is required.

Returns

Boolean
If the node is required
public Boolean
# hasDefaultValue( )

Returns true when the node has a default value.

Returns true when the node has a default value.

Returns

Boolean
If the node has a default value
public mixed
# getDefaultValue( )

Returns the default value of the node.

Returns the default value of the node.

Returns

mixed
The default value

Throws

RuntimeException
if the node has no default value
public mixed
# normalize( mixed $value )

Normalizes the supplied value.

Normalizes the supplied value.

Parameters

$value
mixed
$value The value to normalize

Returns

mixed
The normalized value
public mixed
# merge( mixed $leftSide, mixed $rightSide )

Merges two values together.

Merges two values together.

Parameters

$leftSide
mixed
$leftSide
$rightSide
mixed
$rightSide

Returns

mixed
The merged values
public mixed
# finalize( mixed $value )

Finalizes a value.

Finalizes a value.

Parameters

$value
mixed
$value The value to finalize

Returns

mixed
The finalized value
php-coveralls API documentation generated by ApiGen 2.8.0