public static function Framework::instance in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::instance()
- 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::instance()
Retrieves a class representing the current framework entrypoint.
1 call to Framework::instance()
- Framework::testInstance in api/
src/ Framework/ Framework.php - Test for self::instance().
File
- api/
src/ Framework/ Framework.php, line 45
Class
- Framework
- The entry point for the framework.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public static function instance() {
if (!self::$instance) {
self::$instance = new Framework();
}
return self::$instance;
}