Interface IEnvironment
	
	Responsibility - detecting environment, optionally by in system config.
- Environment management and detection by: - comparing server and client IP, by value or regular expression. - comparing server hostname or IP, by value or regular expression. - checking system environment variable existence, value or by regular exp.
	 
	
		- 
MvcCore\IEnvironment			
			 implements 
				MvcCore\Environment\IConstants
			
			
		
	Methods summary
	
		| 
			 public static
			string[]
			
			 | 
		#
		GetAllNames( )
			Get all available nevironment names. 
			Get all available nevironment names. Returns
					string[]
				 | 
	
		| 
			 public static
			boolean
			
			 | 
		#
		SetDetectionBySystemConfig( boolean $detectionBySystemConfig = TRUE )
			Set TRUE, if environment is necessary to detected by loaded system config,FALSEotherwise. 
			Set TRUE, if environment is necessary to detected by loaded system config,FALSEotherwise. Parameters
					$detectionBySystemConfigTRUEby default.Returns
					boolean
				 | 
	
		| 
			 public static
			boolean
			
			 | 
		#
		GetDetectionBySystemConfig( )
			Get TRUE, if environment is necessary to detected by loaded system config,FALSEotherwise. 
			Get TRUE, if environment is necessary to detected by loaded system config,FALSEotherwise. Returns
					boolean
				 | 
	
		| 
			 public static
			MvcCore\Environment | 
		#
		CreateInstance( )
			Create empty environment detection instance.
Detection will be executed ondemand later. 
			Create empty environment detection instance.
Detection will be executed ondemand later. Returns | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		IsDevelopment( )
			Return TRUEif environment is"dev". 
			Return TRUEif environment is"dev". Returns
					boolean
				 | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		IsBeta( )
			Return TRUEif environment is"beta". 
			Return TRUEif environment is"beta". Returns
					boolean
				 | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		IsAlpha( )
			Return TRUEif environment is"alpha". 
			Return TRUEif environment is"alpha". Returns
					boolean
				 | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		IsProduction( )
			Return TRUEif environment is"production". 
			Return TRUEif environment is"production". Returns
					boolean
				 | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		IsDetected( )
			Return TRUEif environment has already detected name. 
			Return TRUEif environment has already detected name. Returns
					boolean
				 | 
	
		| 
			 public 
			string
			
			 | 
		#
		SetName( string $name = \MvcCore\IEnvironment::PRODUCTION )
			Set environment name as string,
defined by constants: \MvcCore\IEnvironment::<NAME>. 
			Set environment name as string,
defined by constants: \MvcCore\IEnvironment::<NAME>. ParametersReturns
					string
				 | 
	
		| 
			 public 
			string
			
			 | 
		#
		GetName( )
			Get environment name as string,
defined by constants: \MvcCore\IEnvironment::<NAME>. 
			Get environment name as string,
defined by constants: \MvcCore\IEnvironment::<NAME>. Returns
					string
				 | 
	
		| 
			 public static
			string
			
			 | 
		#
		DetectByIps( )
			First environment value setup - by server and client IP address. 
			First environment value setup - by server and client IP address. Returns
					stringDetected environment string.
 | 
	
		| 
			 public static
			string
			
			 | 
		#
		DetectBySystemConfig( array $environmentsSectionData = [] )
			Second environment value setup - by system config data environment record. 
			Second environment value setup - by system config data environment record. Parameters
					$environmentsSectionDataSystem config environment section data part.Returns
					stringDetected environment string.
 |