You are here

static function Exception::GetCalled in Realistic Dummy Content 8

Returns the called function through a backtrace

Overrides Exception::GetCalled

1 call to Exception::GetCalled()
Exception::Log in api/src/loggers/Exception.php
1 method overrides Exception::GetCalled()
Exception::GetCalled in api/src/loggers/Exception.php
Returns the called function through a backtrace

File

api/src/loggers/Exception.php, line 57
Define autoload class.

Class

Exception
An \Exception.

Namespace

Drupal\realistic_dummy_content_api\loggers

Code

static function GetCalled() {

  // Get caller will return the called function because the simple fact
  // of using another function will make the backtrace one-level deeper
  return self::GetCaller();
}