You are here

public static function ReportFileSystem::instance in Forena Reports 8

Singleton Factory

Return value

\Drupal\forena\File\ReportFileSystem

3 calls to ReportFileSystem::instance()
FrxAPI::reportFileSystem in src/FrxAPI.php
Get the current report file system.
ReportManager::report in src/ReportManager.php
Generate a forena report
ReportManager::reportInclude in src/ReportManager.php
Generate a forena report

File

src/File/ReportFileSystem.php, line 22

Class

ReportFileSystem

Namespace

Drupal\forena\File

Code

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