Twig_Extension_StringLoader

The WooCommerce Multilingual Twig Extension StringLoader class.

Defined (1)

The class is defined in the following location(s).

/vendor/twig/twig/lib/Twig/Extension/StringLoader.php  
  1. class Twig_Extension_StringLoader extends Twig_Extension 
  2. public function getFunctions() 
  3. return array( 
  4. new Twig_SimpleFunction('template_from_string', 'twig_template_from_string', array('needs_environment' => true)),  
  5. ); 
  6.  
  7. public function getName() 
  8. return 'string_loader';