You are here

public static function Forena::service in Forena Reports 8

Singleton

Return value

static

1 string reference to 'Forena::service'
forena.services.yml in ./forena.services.yml
forena.services.yml

File

src/Forena.php, line 19

Class

Forena

Namespace

Drupal\forena

Code

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