public static function resolveFirst($renderKey, $stopClass = null, $type = null)
	{
		$viewListList = static::resolve($renderKey, $stopClass, $type);
		$viewList = current($viewListList);
		
		if(!$viewList)
		{
			return;
		}

		$view = current($viewList);

		return $view;
	}
public static function resolveFirst($renderKey, $stopClass = null, $type = null)
	{
		$viewListList = static::resolve($renderKey, $stopClass, $type);
		$viewList = current($viewListList);
		
		if(!$viewList)
		{
			return;
		}

		$view = current($viewList);

		return $view;
	}
public static function resolveFirst ( $ renderKey , $ stopClass = null , $ type = null ) { $ viewListList = static :: resolve ( $ renderKey , $ stopClass , $ type ) ; $ viewList = current ( $ viewListList ) ; if ( ! $ viewList ) { return ; } $ view = current ( $ viewList ) ; return $ view ; }
Resolves a single class or other string value
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 string class or string value mapped from renderKey
Resolves a single class or other string value for a given renderKey .