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

  • Dumper
  • Escaper
  • Inline
  • Parser
  • Unescaper
  • Yaml
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Unescaper

Unescaper encapsulates unescaping rules for single and double-quoted YAML strings.

Namespace: Symfony\Component\Yaml
Author: Matthew Lewinski <matthew@lewinski.org>
Located at yaml/Symfony/Component/Yaml/Unescaper.php
Methods summary
public string
# unescapeSingleQuotedString( string $value )

Unescapes a single quoted string.

Unescapes a single quoted string.

Parameters

$value
string
$value A single quoted string.

Returns

string
The unescaped string.
public string
# unescapeDoubleQuotedString( string $value )

Unescapes a double quoted string.

Unescapes a double quoted string.

Parameters

$value
string
$value A double quoted string.

Returns

string
The unescaped string.
public string
# unescapeCharacter( string $value )

Unescapes a character that was found in a double-quoted string

Unescapes a character that was found in a double-quoted string

Parameters

$value
string
$value An escaped character

Returns

string
The unescaped character
Constants summary
string ENCODING 'UTF-8'
#
string REGEX_ESCAPED_CHARACTER "\\\\([0abt\tnvfre \\\"\\/\\\\N_LP]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})"
#
php-coveralls API documentation generated by ApiGen 2.8.0