static function setEnvironment($data = []){
	
		if($data && is_array($data)){
			self::$env = $data;
			return;
		}
		
		// Check environment is set?
		if(count(self::$env ) == 0){
			self::$env = (require APP_PATH.'config' . DS . 'Environment.php');
		}
	}
static function setEnvironment($data = []){
	
		if($data && is_array($data)){
			self::$env = $data;
			return;
		}
		
		// Check environment is set?
		if(count(self::$env ) == 0){
			self::$env = (require APP_PATH.'config' . DS . 'Environment.php');
		}
	}
static function setEnvironment ( $ data = [ ] ) { if ( $ data && is_array ( $ data ) ) { self :: $ env = $ data ; return ; } // Check environment is set? if ( count ( self :: $ env ) == 0 ) { self :: $ env = ( require APP_PATH . 'config' . DS . 'Environment.php' ) ; } }
set environment path
if param not set or environment not set it will load from config Environment.php

@param array
@return void
set environment path if param not set or environment not set it will load from config Environment . php