HandlebarsLoaderStringLoader

Handlebars Template string Loader implementation.

Defined (2)

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

/vendor/calderawp/metaplate-core/vendor/xamin/handlebars.php/src/Handlebars/Loader/StringLoader.php  
  1. class StringLoader implements Loader 
  2.  
  3. /** 
  4. * Load a Template by source. 
  5. * @param string $name Handlebars Template source 
  6. * @return String Handlebars Template source 
  7. */ 
  8. public function load($name) 
  9. return new String($name); 
  10.  
/vendor/xamin/handlebars.php/src/Handlebars/Loader/StringLoader.php  
  1. class StringLoader implements Loader 
  2.  
  3. /** 
  4. * Load a Template by source. 
  5. * @param string $name Handlebars Template source 
  6. * @return String Handlebars Template source 
  7. */ 
  8. public function load($name) 
  9. return new String($name); 
  10.