You are here

public static function ReportManager::instance in Forena Reports 8

Singleton Factory

Return value

\Drupal\forena\ReportManager

1 call to ReportManager::instance()
ReportManagerTest::testReportName in tests/src/Unit/ReportManagerTest.php
Test extraction from url.

File

src/ReportManager.php, line 23
Implements \Drupal\forena\File\ReportFileSystem

Class

ReportManager
Access to Report rendering engine.

Namespace

Drupal\forena

Code

public static function instance() {
  if (static::$instance === NULL) {
    static::$instance = new static();
  }
  return static::$instance;
}