src/View/Extensions/HorizonExtension.php
/**
	 * This function will evaluate $string through the $environment, and return its results.
	 *
	 * @param array $context
	 * @param string $string
	 */
This function will evaluate $string through the $environment, and return its results.
@param array $context
@param string $string
This function will evaluate $string through the $environment and return its results . @param array $context @param string $string
public function evaluate(\Twig_Environment $environment, $context, $string) {
		$loader = $environment->getLoader();
		$parsed = $this->parseString($environment, $context, $string);
		$environment->setLoader($loader);
		return $parsed;
	}
public function evaluate ( \ Twig_Environment $ environment , $ context , $ string ) { $ loader = $ environment -> getLoader ( ) ; $ parsed = $ this -> parseString ( $ environment , $ context , $ string ) ; $ environment -> setLoader ( $ loader ) ; return $ parsed ; }
This function will evaluate $string through the $environment, and return its results.
This function will evaluate $string through the $environment and return its results .