original_string: public static function always_load($array = null)
  	{
  		is_null($array) and	$array = \Config::get('always_load', array());
  
  		isset($array['packages']) and \Package::load($array['packages']);
  
  		isset($array['modules']) and \Module::load($array['modules']);
  
  		if (isset($array['classes']))
  		{
  			foreach ($array['classes'] as $class)
  			{
  				if ( ! class_exists($class = \Str::ucwords($class)))
  				{
  					throw new \FuelException('Class '.$class.' defined in your "always_load" config could not be loaded.');
  				}
  			}
  		}
  
  		/**
  		 * Config and Lang must be either just the filename, example: array(filename)
  		 * or the filename as key and the group as value, example: array(filename => some_group)
  		 */
  
  		if (isset($array['config']))
  		{
  			foreach ($array['config'] as $config => $config_group)
  			{
  				\Config::load((is_int($config) ? $config_group : $config), (is_int($config) ? true : $config_group));
  			}
  		}
  
  		if (isset($array['language']))
  		{
  			foreach ($array['language'] as $lang => $lang_group)
  			{
  				\Lang::load((is_int($lang) ? $lang_group : $lang), (is_int($lang) ? true : $lang_group));
  			}
  		}
  	}
code: public static function always_load($array = null)
  	{
  		is_null($array) and	$array = \Config::get('always_load', array());
  
  		isset($array['packages']) and \Package::load($array['packages']);
  
  		isset($array['modules']) and \Module::load($array['modules']);
  
  		if (isset($array['classes']))
  		{
  			foreach ($array['classes'] as $class)
  			{
  				if ( ! class_exists($class = \Str::ucwords($class)))
  				{
  					throw new \FuelException('Class '.$class.' defined in your "always_load" config could not be loaded.');
  				}
  			}
  		}
  
  		/**
  		 * Config and Lang must be either just the filename, example: array(filename)
  		 * or the filename as key and the group as value, example: array(filename => some_group)
  		 */
  
  		if (isset($array['config']))
  		{
  			foreach ($array['config'] as $config => $config_group)
  			{
  				\Config::load((is_int($config) ? $config_group : $config), (is_int($config) ? true : $config_group));
  			}
  		}
  
  		if (isset($array['language']))
  		{
  			foreach ($array['language'] as $lang => $lang_group)
  			{
  				\Lang::load((is_int($lang) ? $lang_group : $lang), (is_int($lang) ? true : $lang_group));
  			}
  		}
  	}
code_tokens: public static function always_load ( $ array = null ) { is_null ( $ array ) and $ array = \ Config :: get ( 'always_load' , array ( ) ) ; isset ( $ array [ 'packages' ] ) and \ Package :: load ( $ array [ 'packages' ] ) ; isset ( $ array [ 'modules' ] ) and \ Module :: load ( $ array [ 'modules' ] ) ; if ( isset ( $ array [ 'classes' ] ) ) { foreach ( $ array [ 'classes' ] as $ class ) { if ( ! class_exists ( $ class = \ Str :: ucwords ( $ class ) ) ) { throw new \ FuelException ( 'Class ' . $ class . ' defined in your "always_load" config could not be loaded.' ) ; } } } /**
  		 * Config and Lang must be either just the filename, example: array(filename)
  		 * or the filename as key and the group as value, example: array(filename => some_group)
  		 */ if ( isset ( $ array [ 'config' ] ) ) { foreach ( $ array [ 'config' ] as $ config => $ config_group ) { \ Config :: load ( ( is_int ( $ config ) ? $ config_group : $ config ) , ( is_int ( $ config ) ? true : $ config_group ) ) ; } } if ( isset ( $ array [ 'language' ] ) ) { foreach ( $ array [ 'language' ] as $ lang => $ lang_group ) { \ Lang :: load ( ( is_int ( $ lang ) ? $ lang_group : $ lang ) , ( is_int ( $ lang ) ? true : $ lang_group ) ) ; } } }
docstring: Always load packages, modules, classes, config & language files set in always_load.php config
  
  @param  array  what to autoload
docstring_tokens: Always load packages modules classes config & language files set in always_load . php config