[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

Inline:: (16 methods):
  initialize()
  parse()
  dump()
  isHash()
  dumpArray()
  parseScalar()
  parseQuotedScalar()
  parseSequence()
  parseMapping()
  evaluateScalar()
  parseTag()
  evaluateBinaryScalar()
  isBinaryString()
  getTimestampRegex()
  getHexRegex()
  getDeprecationMessage()


Class: Inline  - X-Ref

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

initialize($flags, $parsedLineNumber = null, $parsedFilename = null)   X-Ref

param: int         $flags
param: int|null    $parsedLineNumber
param: string|null $parsedFilename

parse($value, $flags = 0, $references = [])   X-Ref
Converts a YAML string to a PHP value.

param: string $value      A YAML string
param: int    $flags      A bit field of PARSE_* constants to customize the YAML parser behavior
param: array  $references Mapping of variable names to values
return: mixed A PHP value

dump($value, $flags = 0)   X-Ref
Dumps a given PHP variable to a YAML string.

param: mixed $value The PHP variable to convert
param: int   $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string
return: string The YAML string representing the PHP value

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

param: array|\ArrayObject|\stdClass $value The PHP array or array-like object to check
return: bool true if value is hash array, false otherwise

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

param: array $value The PHP array to dump
param: int   $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string
return: string The YAML string representing the PHP array

parseScalar($scalar, $flags = 0, $delimiters = null, &$i = 0, $evaluate = true, $references = [], $legacyOmittedKeySupport = false)   X-Ref
Parses a YAML scalar.

param: string   $scalar
param: int      $flags
param: string[] $delimiters
param: int      &$i
param: bool     $evaluate
param: array    $references
return: string

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

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

parseSequence($sequence, $flags, &$i = 0, $references = [])   X-Ref
Parses a YAML sequence.

param: string $sequence
param: int    $flags
param: int    &$i
param: array  $references
return: array

parseMapping($mapping, $flags, &$i = 0, $references = [])   X-Ref
Parses a YAML mapping.

param: string $mapping
param: int    $flags
param: int    &$i
param: array  $references
return: array|\stdClass

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

param: string $scalar
param: int    $flags
param: array  $references
return: mixed The evaluated YAML string

parseTag($value, &$i, $flags)   X-Ref

param: string $value
param: int    &$i
param: int    $flags
return: string|null

evaluateBinaryScalar($scalar)   X-Ref

param: string $scalar
return: string

isBinaryString($value)   X-Ref
No description

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

getDeprecationMessage($message)   X-Ref
No description



Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1