src/Support/Facades/Component.php
/**
	 * Compiles a component with the given name and returns the output.
	 *
	 * @param string $componentName
	 * @param mixed ...$args
	 * @return string
	 *
	 * @throws InvalidArgumentException if the component cannot be found.
	 * @throws ViewException if the component encounters a render error.
	 */
Compiles a component with the given name and returns the output.
@param string $componentName
@param mixed ...$args
@return string

@throws InvalidArgumentException if the component cannot be found.
@throws ViewException if the component encounters a render error.
Compiles a component with the given name and returns the output . @param string $componentName @param mixed ... $args @return string @throws InvalidArgumentException if the component cannot be found . @throws ViewException if the component encounters a render error .
public static function compile($componentName) {
		$args = func_get_args();
		$componentName = array_shift($args);
		return \Horizon\Foundation\Application::kernel()->view()->componentManager()->compile($componentName, $args);
	}
public static function compile ( $ componentName ) { $ args = func_get_args ( ) ; $ componentName = array_shift ( $ args ) ; return \ Horizon \ Foundation \ Application :: kernel ( ) -> view ( ) -> componentManager ( ) -> compile ( $ componentName , $ args ) ; }
Compiles a component with the given name and returns the output.
Compiles a component with the given name and returns the output .