You are here

public static function Framework::testInstance in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::testInstance()
  2. 3.x api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::testInstance()

Test for self::instance().

File

api/src/Framework/Framework.php, line 491

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public static function testInstance() {
  return !is_a(self::instance(), '\\Drupal\\realistic_dummy_content_api\\Framework\\Framework');
}