You are here

private function Parser::getDeprecationMessage in Lockr 7.3

2 calls to Parser::getDeprecationMessage()
Parser::doParse in vendor/symfony/yaml/Parser.php
Parser::parseValue in vendor/symfony/yaml/Parser.php
Parses a YAML value.

File

vendor/symfony/yaml/Parser.php, line 1126

Class

Parser
Parser parses YAML strings to convert them to PHP arrays.

Namespace

Symfony\Component\Yaml

Code

private function getDeprecationMessage($message) {
  $message = rtrim($message, '.');
  if (null !== $this->filename) {
    $message .= ' in ' . $this->filename;
  }
  $message .= ' on line ' . ($this
    ->getRealCurrentLineNb() + 1);
  return $message . '.';
}