JOOMLA中国
  • Joomla中国首页
  • 社区
  • 教程
  • 应用市场
  • B计划
Joomla! Framework TM
  • Namespace
  • Class
  • Tree
  • Deprecated

Namespaces

  • Composer
    • Autoload
  • Joomla
    • Application
      • Cli
        • Output
          • Processor
      • Web
    • Data
    • DI
      • Exception
    • Event
    • Filter
    • Input
    • Ldap
    • Registry
      • Format
    • Session
      • Storage
    • String
    • Uri
    • Utilities
  • None
  • PasswordCompat
    • binary
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Yaml
        • Exception
    • Polyfill
      • Util

Classes

  • Dumper
  • Inline
  • Parser
  • Yaml

Class Dumper

Dumper dumps PHP variables to YAML strings.

Namespace: Symfony\Component\Yaml
Author: Fabien Potencier <fabien@symfony.com>
Located at vendor/symfony/yaml/Dumper.php

Methods summary

public
# setIndentation( integer $num )

Sets the indentation.

Sets the indentation.

Parameters

$num
integer - $num The amount of spaces to use for indentation of nested nodes
public string
# dump( mixed $input, integer $inline = 0, integer $indent = 0, boolean $exceptionOnInvalidType = false, boolean $objectSupport = false )

Dumps a PHP value to YAML.

Dumps a PHP value to YAML.

Parameters

$input
mixed - $input The PHP value
$inline
integer - $inline The level where you switch to inline YAML
$indent
integer - $indent The level of indentation (used internally)
$exceptionOnInvalidType
boolean - $exceptionOnInvalidType true if an exception must be thrown on invalid types (a PHP resource or object), false otherwise
$objectSupport
boolean - $objectSupport true if object support is enabled, false otherwise

Returns

string - The YAML representation of the PHP value

Magic methods summary

Properties summary

protected integer $indentation
#

The amount of spaces to use for indentation of nested nodes.

The amount of spaces to use for indentation of nested nodes.

Joomla! Framework TM API documentation generated by ApiGen 2.8.0
Joomla!® and Joomla! Framework™ are trademarks of Open Source Matters, Inc. in the United States and other countries.