Beispiel #1
0
 /**
  * Get the instance of the Zula class
  *
  * @param string $rootDir
  * @param string $state
  * @return object
  */
 public static function getInstance($rootDir, $state = 'production')
 {
     if (!is_object(self::$_instance)) {
         self::$_instance = new self($rootDir, $state);
     }
     return self::$_instance;
 }