Example #1
0
 public static function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new Configuration();
         self::$instance->configurate();
     }
     return self::$instance;
 }
Example #2
0
 private function configuration()
 {
     $this->web = Configuration::getInstance();
 }