Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ParseException.php

function ParseException::setParsedFile

Sets the filename where the error occurred.

File

vendor/symfony/yaml/Exception/ParseException.php, line 70

Class

ParseException
Exception class thrown when an error occurs during parsing.

Namespace

Symfony\Component\Yaml\Exception

Code

public function setParsedFile(string $parsedFile) : void {
    $this->parsedFile = $parsedFile;
    $this->updateRepr();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal