src/View/Template.php
/**
	 * Compiles the template and returns the generated content as a string.
	 *
	 * @return string
	 */
Compiles the template and returns the generated content as a string.
@return string
Compiles the template and returns the generated content as a string . @return string
public function render() {
		$response = (new TwigLoader($this))->render();
		if (!starts_with($this->templatePath, '@component/')) {
			Application::kernel()->view()->setContext(array());
		}
		return $response;
	}
public function render ( ) { $ response = ( new TwigLoader ( $ this ) ) -> render ( ) ; if ( ! starts_with ( $ this -> templatePath , '@component/' ) ) { Application :: kernel ( ) -> view ( ) -> setContext ( array ( ) ) ; } return $ response ; }
Compiles the template and returns the generated content as a string.
Compiles the template and returns the generated content as a string .