[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/yaml/Symfony/Component/Yaml/ -> Inline.php (summary)

(no description)

File Size: 542 lines (19 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Inline:: (11 methods):
  parse()
  dump()
  isHash()
  dumpArray()
  parseScalar()
  parseQuotedScalar()
  parseSequence()
  parseMapping()
  evaluateScalar()
  getTimestampRegex()
  getHexRegex()


Class: Inline  - X-Ref

Inline implements a YAML parser/dumper for the YAML inline syntax.

parse($value, $exceptionOnInvalidType = false, $objectSupport = false, $references = array()   X-Ref
Converts a YAML string to a PHP array.

param: string $value                  A YAML string
param: bool   $exceptionOnInvalidType true if an exception must be thrown on invalid types (a PHP resource or object), false otherwise
param: bool   $objectSupport          true if object support is enabled, false otherwise
param: array  $references             Mapping of variable names to values
return: array A PHP array representing the YAML string

dump($value, $exceptionOnInvalidType = false, $objectSupport = false)   X-Ref
Dumps a given PHP variable to a YAML string.

param: mixed $value                  The PHP variable to convert
param: bool  $exceptionOnInvalidType true if an exception must be thrown on invalid types (a PHP resource or object), false otherwise
param: bool  $objectSupport          true if object support is enabled, false otherwise
return: string The YAML string representing the PHP array

isHash(array $value)   X-Ref
Check if given array is hash or just normal indexed array.

param: array $value The PHP array to check
return: bool true if value is hash array, false otherwise

dumpArray($value, $exceptionOnInvalidType, $objectSupport)   X-Ref
Dumps a PHP array to a YAML string.

param: array $value                  The PHP array to dump
param: bool  $exceptionOnInvalidType true if an exception must be thrown on invalid types (a PHP resource or object), false otherwise
param: bool  $objectSupport          true if object support is enabled, false otherwise
return: string The YAML string representing the PHP array

parseScalar($scalar, $delimiters = null, $stringDelimiters = array('"', "'")   X-Ref
Parses a scalar to a YAML string.

param: string $scalar
param: string $delimiters
param: array  $stringDelimiters
param: int    &$i
param: bool   $evaluate
param: array  $references
return: string A YAML string

parseQuotedScalar($scalar, &$i)   X-Ref
Parses a quoted scalar to YAML.

param: string $scalar
param: int    &$i
return: string A YAML string

parseSequence($sequence, &$i = 0, $references = array()   X-Ref
Parses a sequence to a YAML string.

param: string $sequence
param: int    &$i
param: array  $references
return: string A YAML string

parseMapping($mapping, &$i = 0, $references = array()   X-Ref
Parses a mapping to a YAML string.

param: string $mapping
param: int    &$i
param: array  $references
return: string A YAML string

evaluateScalar($scalar, $references = array()   X-Ref
Evaluates scalars and replaces magic values.

param: string $scalar
param: array  $references
return: string A YAML string

getTimestampRegex()   X-Ref
Gets a regex that matches a YAML date.

return: string The regular expression

getHexRegex()   X-Ref
Gets a regex that matches a YAML number in hexadecimal notation.

return: string



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1