src/SnooPHP/Http/Response.php
public static function view($name, array $args = [], Request $request = null)
	{
		// Get request
		$request = $request ?: Request::current();

		// Capture output buffer
		ob_start();
		include path("views/$name.php", true);
		$content = ob_get_contents();
		ob_end_clean();

		// Return response
		return new static($content);
	}
public static function view($name, array $args = [], Request $request = null)
	{
		// Get request
		$request = $request ?: Request::current();

		// Capture output buffer
		ob_start();
		include path("views/$name.php", true);
		$content = ob_get_contents();
		ob_end_clean();

		// Return response
		return new static($content);
	}
Return view (parse php)

@param string	$name		view name
@param array		$args		list of arguments available to the view
@param Request	$request	specify if differs from current request

@return Response