original_string: public static function paths( $paths = null, $define = true )
  	{
  		if ( is_null( $paths ) )
  		{
  			return static::$paths;
  		}
  		
  		foreach( $paths as $key => $path )
  		{
  			static::$paths[$key] = $path;
  			
  			if ( $define === true )
  			{
  				define( strtoupper( $key ).'PATH', $path );
  			}
  		}
  	}
code: public static function paths( $paths = null, $define = true )
  	{
  		if ( is_null( $paths ) )
  		{
  			return static::$paths;
  		}
  		
  		foreach( $paths as $key => $path )
  		{
  			static::$paths[$key] = $path;
  			
  			if ( $define === true )
  			{
  				define( strtoupper( $key ).'PATH', $path );
  			}
  		}
  	}
code_tokens: public static function paths ( $ paths = null , $ define = true ) { if ( is_null ( $ paths ) ) { return static :: $ paths ; } foreach ( $ paths as $ key => $ path ) { static :: $ paths [ $ key ] = $ path ; if ( $ define === true ) { define ( strtoupper ( $ key ) . 'PATH' , $ path ) ; } } }
docstring: paths getter and setter
  
  when paths empty:
  return all registerd paths
  
  when paths an array:
  adds paths to the index and optional create a define.
  
  @param array 			$paths
  @param bool			$define
  @return array|void
docstring_tokens: paths getter and setter