LEPTON CMS 7.0.0
feel free to keep it strictly simple...
Loading...
Searching...
No Matches
lepton_singleton.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
27{
28 public static $instance;
29
34 public static function getInstance()
35 {
36 if (null === static::$instance)
37 {
38 static::$instance = new static();
39 }
40 return static::$instance;
41 }
42}
trait LEPTON_singleton