original_string: public static function render($object, array $vars = [], $type = null)
  	{
  		if($view = static::resolveFirst($object, null, $type))
  		{
  			return new $view(['object' => $object] + $vars);
  		}
  	}
code: public static function render($object, array $vars = [], $type = null)
  	{
  		if($view = static::resolveFirst($object, null, $type))
  		{
  			return new $view(['object' => $object] + $vars);
  		}
  	}
code_tokens: public static function render ( $ object , array $ vars = [ ] , $ type = null ) { if ( $ view = static :: resolveFirst ( $ object , null , $ type ) ) { return new $ view ( [ 'object' => $ object ] + $ vars ) ; } }
docstring: Render a given object with a view provided by the theme.
  
  @param object $renderKey string to resolve values for.
  @param array $vars additional variables passed on to view
  @param type string type of view to return
  
  @return object View object ready to be rendered..
docstring_tokens: Render a given object with a view provided by the theme .