original_string: 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');
  		}
  	}
code: 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');
  		}
  	}
code_tokens: 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' ) ; } }
docstring: set environment path
  if param not set or environment not set it will load from config Environment.php
  
  @param array
  @return void
docstring_tokens: set environment path if param not set or environment not set it will load from config Environment . php