static public function getInstance($storagePath = null) {
        if (!self::$_instance) {
            if (empty($storagePath)) {
                throw new \Exception("Storage path need to be specified on the first instance call for ModelOperator");
            }
            self::$_instance = new ModelOperator($storagePath);
            self::$_instance->loadStructureFiles();
        }
        return self::$_instance;
    }
static public function getInstance($storagePath = null) {
        if (!self::$_instance) {
            if (empty($storagePath)) {
                throw new \Exception("Storage path need to be specified on the first instance call for ModelOperator");
            }
            self::$_instance = new ModelOperator($storagePath);
            self::$_instance->loadStructureFiles();
        }
        return self::$_instance;
    }
static public function getInstance ( $ storagePath = null ) { if ( ! self :: $ _instance ) { if ( empty ( $ storagePath ) ) { throw new \ Exception ( "Storage path need to be specified on the first instance call for ModelOperator" ) ; } self :: $ _instance = new ModelOperator ( $ storagePath ) ; self :: $ _instance -> loadStructureFiles ( ) ; } return self :: $ _instance ; }
Return current instance
@static
@param mixed $storagePath to operate with structures and models
@return ModelOperator
@throws \Exception
Return current instance