public function render()
	{
		// Get the layout path.
		$path = $this->getPath($this->getLayout());

		// Check if the layout path was found.
		if (!$path)
		{
			throw new \RuntimeException('Layout Path Not Found');
		}

		// Start an output buffer.
		ob_start();

		// Load the layout.
		include $path;

		// Get the layout contents.
		$output = ob_get_clean();

		return $output;
	}
public function render()
	{
		// Get the layout path.
		$path = $this->getPath($this->getLayout());

		// Check if the layout path was found.
		if (!$path)
		{
			throw new \RuntimeException('Layout Path Not Found');
		}

		// Start an output buffer.
		ob_start();

		// Load the layout.
		include $path;

		// Get the layout contents.
		$output = ob_get_clean();

		return $output;
	}
public function render ( ) { // Get the layout path. $ path = $ this -> getPath ( $ this -> getLayout ( ) ) ; // Check if the layout path was found. if ( ! $ path ) { throw new \ RuntimeException ( 'Layout Path Not Found' ) ; } // Start an output buffer. ob_start ( ) ; // Load the layout. include $ path ; // Get the layout contents. $ output = ob_get_clean ( ) ; return $ output ; }
Method to render the view.

@return  string  The rendered view.

@since   1.0
@throws  \RuntimeException
Method to render the view .