original_string: public static function addScenarioFromYml($key){
  		$cfg = Config::inst()->get('SimpleListField', 'Scenarios');
  		
  		if( isset($cfg[$key]) ){
  			if( (isset($cfg[$key]['preload']) && !$cfg[$key]['preload']) || !isset($cfg[$key]['preload']) ){
  				self::$scenarios[$key] = $cfg[$key];
  			}
  		}
  	}
code: public static function addScenarioFromYml($key){
  		$cfg = Config::inst()->get('SimpleListField', 'Scenarios');
  		
  		if( isset($cfg[$key]) ){
  			if( (isset($cfg[$key]['preload']) && !$cfg[$key]['preload']) || !isset($cfg[$key]['preload']) ){
  				self::$scenarios[$key] = $cfg[$key];
  			}
  		}
  	}
code_tokens: public static function addScenarioFromYml ( $ key ) { $ cfg = Config :: inst ( ) -> get ( 'SimpleListField' , 'Scenarios' ) ; if ( isset ( $ cfg [ $ key ] ) ) { if ( ( isset ( $ cfg [ $ key ] [ 'preload' ] ) && ! $ cfg [ $ key ] [ 'preload' ] ) || ! isset ( $ cfg [ $ key ] [ 'preload' ] ) ) { self :: $ scenarios [ $ key ] = $ cfg [ $ key ] ; } } }
docstring: Add single scenario by using yml configuration
docstring_tokens: Add single scenario by using yml configuration