You are here

public static function RealisticDummyContentException::getCalled in Realistic Dummy Content 7.2

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentException.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentException::getCalled()
  2. 3.x api/src/includes/RealisticDummyContentException.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentException::getCalled()

Returns the called function through a backtrace.

1 call to RealisticDummyContentException::getCalled()
RealisticDummyContentException::log in api/src/includes/RealisticDummyContentException.php
Logs a message.

File

api/src/includes/RealisticDummyContentException.php, line 54

Class

RealisticDummyContentException
An Exception.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public 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();
}