original_string: public static function enter( $path ) 
  	{	
  		if ( !is_array( $path ) ) 
  		{
  			$path = array( $path );
  		}
  		
  		foreach( $path as $ship ) 
  		{	
  			// load ship at path
  			$ship = CCOrbit_Ship::create( $ship );
  			
  			if ( array_key_exists( $ship->name, static::$ships ) ) 
  			{
  				throw new CCException( "CCOrbit::enter - {$ship->name} ship already entered." );
  			}
  			
  			if ( $ship->wake !== false ) {
  				$ship->event( $ship->wake );
  			}
  			
  			CCProfiler::check( "CCOrbit - ship {$ship->name} launched." );
  			
  			// add to our loaded ships
  			static::$ships[$ship->name] = $ship;
  		}
  	}
code: public static function enter( $path ) 
  	{	
  		if ( !is_array( $path ) ) 
  		{
  			$path = array( $path );
  		}
  		
  		foreach( $path as $ship ) 
  		{	
  			// load ship at path
  			$ship = CCOrbit_Ship::create( $ship );
  			
  			if ( array_key_exists( $ship->name, static::$ships ) ) 
  			{
  				throw new CCException( "CCOrbit::enter - {$ship->name} ship already entered." );
  			}
  			
  			if ( $ship->wake !== false ) {
  				$ship->event( $ship->wake );
  			}
  			
  			CCProfiler::check( "CCOrbit - ship {$ship->name} launched." );
  			
  			// add to our loaded ships
  			static::$ships[$ship->name] = $ship;
  		}
  	}
code_tokens: public static function enter ( $ path ) { if ( ! is_array ( $ path ) ) { $ path = array ( $ path ) ; } foreach ( $ path as $ ship ) { // load ship at path $ ship = CCOrbit_Ship :: create ( $ ship ) ; if ( array_key_exists ( $ ship -> name , static :: $ ships ) ) { throw new CCException ( "CCOrbit::enter - {$ship->name} ship already entered." ) ; } if ( $ ship -> wake !== false ) { $ ship -> event ( $ ship -> wake ) ; } CCProfiler :: check ( "CCOrbit - ship {$ship->name} launched." ) ; // add to our loaded ships static :: $ ships [ $ ship -> name ] = $ ship ; } }
docstring: Add a ship
  this loads the ship loader file
  
  @param string		$path
  @return bool
docstring_tokens: Add a ship this loads the ship loader file