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

Breadcrumb

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

class UndefinedFunctionError

Hierarchy

  • class \Symfony\Component\ErrorHandler\Error\UndefinedFunctionError extends \Symfony\Component\ErrorHandler\Error\Error

Expanded class hierarchy of UndefinedFunctionError

1 file declares its use of UndefinedFunctionError
UndefinedFunctionErrorEnhancer.php in vendor/symfony/error-handler/ErrorEnhancer/UndefinedFunctionErrorEnhancer.php

File

vendor/symfony/error-handler/Error/UndefinedFunctionError.php, line 14

Namespace

Symfony\Component\ErrorHandler\Error
View source
class UndefinedFunctionError extends \Error {
    public function __construct(string $message, \Throwable $previous) {
        parent::__construct($message, $previous->getCode(), $previous->getPrevious());
        foreach ([
            'file' => $previous->getFile(),
            'line' => $previous->getLine(),
            'trace' => $previous->getTrace(),
        ] as $property => $value) {
            $refl = new \ReflectionProperty(\Error::class, $property);
            $refl->setValue($this, $value);
        }
    }

}

Members

Title Sort descending Modifiers Object type Summary
UndefinedFunctionError::__construct public function

API Navigation

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