src/View/Twig/TwigLoader.php
/**
	 * Compiles and renders the template. Returns the resulting content as a string.
	 *
	 * @return string
	 */
Compiles and renders the template. Returns the resulting content as a string.
@return string
Compiles and renders the template . Returns the resulting content as a string . @return string
public function render() {
		$output = $this->environment->render(
			$this->template->getPath(),
			$this->template->getContext()
		);
		if ($this->loader->isDebuggingEnabled()) {
			$output = str_replace('&#!123;', '{', $output);
			$output = str_replace('&#!125;', '}', $output);
		}
		return $output;
	}
public function render ( ) { $ output = $ this -> environment -> render ( $ this -> template -> getPath ( ) , $ this -> template -> getContext ( ) ) ; if ( $ this -> loader -> isDebuggingEnabled ( ) ) { $ output = str_replace ( '&#!123;' , '{' , $ output ) ; $ output = str_replace ( '&#!125;' , '}' , $ output ) ; } return $ output ; }
Compiles and renders the template.
Compiles and renders the template .