class Unescaper Unescaper encapsulates unescaping rules for single and double-quoted YAML strings. Constants REGEX_ESCAPED_CHARACTER Regex fragment that matches an escaped character in a double quoted string. Methods string unescapeSingleQuotedString(string $value) Unescapes a single quoted string. string unescapeDoubleQuotedString(string $value) Unescapes a double quoted string. Details string unescapeSingleQuotedString(string $value)
array peekAll() Gets all flash messages. Return Value array
class StopwatchTokenParser extends Twig_TokenParser Token Parser for the stopwatch tag. Methods __construct($stopwatchIsAvailable) parse(Twig_Token $token) decideStopwatchEnd(Twig_Token $token) getTag() Details __construct($stopwatchIsAvailable) Parameters $stopwatchIsAvailable parse(Twig_Token $token) Parameters Twig_Token $token decideStopwatchEnd
bool isQuoteMatch(string $quoteMatch) Check if the first char of a string is a single quote. Parameters string $quoteMatch The string to check Return Value bool true if matches, false otherwise
next() Advances the iterator to the next position.
string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. Parameters string $path A path string|bool|null $version A specific version for the path Return Value string The public path
Session|null getSession() Returns the current session. Return Value Session|null The session
string|null getTargetUrl() Return Value string|null The target URL
bool isVeryVerbose() Returns whether verbosity is very verbose (-vv). Return Value bool true if verbosity is set to VERBOSITYVERYVERBOSE, false otherwise
bool isSecure() Checks whether the request is secure or not. Return Value bool true if the request is secure, false otherwise
Page 214 of 787