original_string: public static function wake( $environment ) 
  	{
  		if ( !is_null( static::$environment ) )
  		{
  			throw new CCException( "ClanCats::wake - you cannot wake the application twice." );
  		}	
  		
  		// set environment
  		static::$environment = $environment;
  		
  		// load the main configuration
  		static::$config = CCConfig::create( 'main' );
  		
  		// setup the application error tables
  		CCError_Inspector::info_callback( 'ClanCatsFramework', function() { 
  			return array(
  				'Runtime Class'		=> \ClanCats::runtime(),
  				'CCF Version'		=> \ClanCats::version(),
  				'CCF Environment'	=> \ClanCats::environment(),
  				'Development env'	=> var_export( \ClanCats::in_development(), true ),
  				'File extention'		=> EXT,
  				'Core namespace'		=> CCCORE_NAMESPACE,
  			);
  		});
  		
  		CCError_Inspector::info_callback( 'CCF Paths', array( 'ClanCats', 'paths' ) );
  		CCError_Inspector::info_callback( 'CCF Directories', array( 'ClanCats', 'directories' ) );
  		CCError_Inspector::info_callback( 'Namespaces', function() {
  			return \CCFinder::$namespaces;
  		});
  	}
code: public static function wake( $environment ) 
  	{
  		if ( !is_null( static::$environment ) )
  		{
  			throw new CCException( "ClanCats::wake - you cannot wake the application twice." );
  		}	
  		
  		// set environment
  		static::$environment = $environment;
  		
  		// load the main configuration
  		static::$config = CCConfig::create( 'main' );
  		
  		// setup the application error tables
  		CCError_Inspector::info_callback( 'ClanCatsFramework', function() { 
  			return array(
  				'Runtime Class'		=> \ClanCats::runtime(),
  				'CCF Version'		=> \ClanCats::version(),
  				'CCF Environment'	=> \ClanCats::environment(),
  				'Development env'	=> var_export( \ClanCats::in_development(), true ),
  				'File extention'		=> EXT,
  				'Core namespace'		=> CCCORE_NAMESPACE,
  			);
  		});
  		
  		CCError_Inspector::info_callback( 'CCF Paths', array( 'ClanCats', 'paths' ) );
  		CCError_Inspector::info_callback( 'CCF Directories', array( 'ClanCats', 'directories' ) );
  		CCError_Inspector::info_callback( 'Namespaces', function() {
  			return \CCFinder::$namespaces;
  		});
  	}
code_tokens: public static function wake ( $ environment ) { if ( ! is_null ( static :: $ environment ) ) { throw new CCException ( "ClanCats::wake - you cannot wake the application twice." ) ; } // set environment static :: $ environment = $ environment ; // load the main configuration static :: $ config = CCConfig :: create ( 'main' ) ; // setup the application error tables CCError_Inspector :: info_callback ( 'ClanCatsFramework' , function ( ) { return array ( 'Runtime Class' => \ ClanCats :: runtime ( ) , 'CCF Version' => \ ClanCats :: version ( ) , 'CCF Environment' => \ ClanCats :: environment ( ) , 'Development env' => var_export ( \ ClanCats :: in_development ( ) , true ) , 'File extention' => EXT , 'Core namespace' => CCCORE_NAMESPACE , ) ; } ) ; CCError_Inspector :: info_callback ( 'CCF Paths' , array ( 'ClanCats' , 'paths' ) ) ; CCError_Inspector :: info_callback ( 'CCF Directories' , array ( 'ClanCats' , 'directories' ) ) ; CCError_Inspector :: info_callback ( 'Namespaces' , function ( ) { return \ CCFinder :: $ namespaces ; } ) ; }
docstring: start the ccf lifecycle
  
  this method sets the current environment, loads the configuration
  and wakes the application
  
  @param string			$environment
  @return void
docstring_tokens: start the ccf lifecycle