public function Twig_Environment::setLoader in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Environment.php \Twig_Environment::setLoader()
Sets the Loader instance.
Parameters
Twig_LoaderInterface $loader A Twig_LoaderInterface instance:
1 call to Twig_Environment::setLoader()
- Twig_Environment::__construct in vendor/
Twig/ Environment.php - Constructor.
File
- vendor/
Twig/ Environment.php, line 573
Class
- Twig_Environment
- Stores the Twig configuration.
Code
public function setLoader(Twig_LoaderInterface $loader) {
$this->loader = $loader;
}