ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
BasicAccessCheckClosuresSingleton.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
29 {
31 
35  private function __construct()
36  {
37  }
38 
39  public static function getInstance(): BasicAccessCheckClosures
40  {
41  if (!self::$instance instanceof BasicAccessCheckClosures) {
42  self::$instance = new BasicAccessCheckClosures();
43  }
44 
45  return self::$instance;
46  }
47 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null