Lines Matching refs:filename
30 private $filename; variable in Symfony\\Component\\Yaml\\Parser
45 * @param string $filename The path to the YAML file to be parsed
52 public function parseFile(string $filename, int $flags = 0) argument
54 if (!is_file($filename)) {
55 throw new ParseException(sprintf('File "%s" does not exist.', $filename));
58 if (!is_readable($filename)) {
59 throw new ParseException(sprintf('File "%s" cannot be read.', $filename));
62 $this->filename = $filename;
65 return $this->parse(file_get_contents($filename), $flags);
67 $this->filename = null;
84 …new ParseException('The YAML value does not appear to be valid UTF-8.', -1, null, $this->filename);
155 …ain tabs as indentation.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
158 Inline::initialize($flags, $this->getRealCurrentLineNb(), $this->filename);
163 … item when in a mapping.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
222 … mapping item when in a sequence.', $this->currentLineNb + 1, $this->currentLine, $this->filename);
251 …ed, $pos), [$refName])), $refName), $this->currentLineNb + 1, $this->currentLine, $this->filename);
254 …es not exist.', $refName), $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
264 …lue instead of an array.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
281 …lue instead of an array.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
294 …on('Merge items must be arrays.', $this->getRealCurrentLineNb() + 1, $parsedItem, $this->filename);
369 …eption('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
382 …eption('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
390 …eption('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
403 …eption('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
411 …eption('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
425 …iple documents are not supported.', $this->currentLineNb + 1, $this->currentLine, $this->filename);
459 …eption('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
463 …ed in multi-line blocks.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
497 …eption('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
614 …on('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
670 …on('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
732 …Parsed, $pos), [$value])), $value), $this->currentLineNb + 1, $this->currentLine, $this->filename);
735 …nce "%s" does not exist.', $value), $this->currentLineNb + 1, $this->currentLine, $this->filename);
811 …e used in an unquoted mapping value.', $this->getRealCurrentLineNb() + 1, $value, $this->filename);
1140 …tag "!%s" is not implemented.', $tag), $this->getRealCurrentLineNb() + 1, $value, $this->filename);
1147 …TAGS" to use "%s".', $matches['tag']), $this->getRealCurrentLineNb() + 1, $value, $this->filename);