original_string: public static function resolveList($renderKey, $stopClass = null, $type = null)
  	{
  		$viewListList = static::resolve($renderKey, $stopClass, $type);
  		$finalList = [];
  
  		foreach($viewListList as $theme => $viewList)
  		{
  			foreach($viewList as $view)
  			{
  				if(is_array($view))
  				{
  					$finalList = array_merge($finalList, $view);
  				}
  				else
  				{
  					$finalList[] = $view;
  				}
  			}
  		}
  
  		return array_unique($finalList);
  	}
code: public static function resolveList($renderKey, $stopClass = null, $type = null)
  	{
  		$viewListList = static::resolve($renderKey, $stopClass, $type);
  		$finalList = [];
  
  		foreach($viewListList as $theme => $viewList)
  		{
  			foreach($viewList as $view)
  			{
  				if(is_array($view))
  				{
  					$finalList = array_merge($finalList, $view);
  				}
  				else
  				{
  					$finalList[] = $view;
  				}
  			}
  		}
  
  		return array_unique($finalList);
  	}
code_tokens: public static function resolveList ( $ renderKey , $ stopClass = null , $ type = null ) { $ viewListList = static :: resolve ( $ renderKey , $ stopClass , $ type ) ; $ finalList = [ ] ; foreach ( $ viewListList as $ theme => $ viewList ) { foreach ( $ viewList as $ view ) { if ( is_array ( $ view ) ) { $ finalList = array_merge ( $ finalList , $ view ) ; } else { $ finalList [ ] = $ view ; } } } return array_unique ( $ finalList ) ; }
docstring: Resolves a list of classes or other string values
  for a given renderKey.
  
  @param string $renderKey string to resolve values for.
  @param string $stopClass stop searching the calling context if this class is found.
  @param string $type type of list to resolve.
  
  @return list of string classes or string values mapped from renderKey
docstring_tokens: Resolves a list of classes or other string values for a given renderKey .