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 ScalarNode

This node represents a scalar value in the config tree.

The following values are considered scalars: * booleans * strings * null * integers * floats

Symfony\Component\Config\Definition\BaseNode implements Symfony\Component\Config\Definition\NodeInterface
Extended by Symfony\Component\Config\Definition\VariableNode implements Symfony\Component\Config\Definition\PrototypeNodeInterface
Extended by Symfony\Component\Config\Definition\ScalarNode

Direct known subclasses

Symfony\Component\Config\Definition\BooleanNode, Symfony\Component\Config\Definition\EnumNode, Symfony\Component\Config\Definition\NumericNode

Indirect known subclasses

Symfony\Component\Config\Definition\FloatNode, Symfony\Component\Config\Definition\IntegerNode
Namespace: Symfony\Component\Config\Definition
Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Located at config/Symfony/Component/Config/Definition/ScalarNode.php
Methods summary
protected
# validateType( mixed $value )

Validates the type of a Node.

Validates the type of a Node.

Parameters

$value
mixed
$value The value to validate

Throws

Symfony\Component\Config\Definition\Exception\InvalidTypeException
when the value is invalid

Overrides

Symfony\Component\Config\Definition\VariableNode::validateType()
Methods inherited from Symfony\Component\Config\Definition\VariableNode
finalizeValue(), getDefaultValue(), hasDefaultValue(), mergeValues(), normalizeValue(), setAllowEmptyValue(), setDefaultValue(), setName()
Methods inherited from Symfony\Component\Config\Definition\BaseNode
__construct(), addEquivalentValue(), finalize(), getAttribute(), getAttributes(), getExample(), getInfo(), getName(), getPath(), hasAttribute(), isRequired(), merge(), normalize(), preNormalize(), removeAttribute(), setAllowOverwrite(), setAttribute(), setAttributes(), setExample(), setFinalValidationClosures(), setInfo(), setNormalizationClosures(), setRequired()
Properties inherited from Symfony\Component\Config\Definition\VariableNode
$allowEmptyValue, $defaultValue, $defaultValueSet
Properties inherited from Symfony\Component\Config\Definition\BaseNode
$allowOverwrite, $attributes, $equivalentValues, $finalValidationClosures, $name, $normalizationClosures, $parent, $required
php-coveralls API documentation generated by ApiGen 2.8.0