public static function Framework::instance in Realistic Dummy Content 7.2
Same name and namespace in other branches
- 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::instance()
- 3.x 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 23
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;
}