/** * Get snippet * * <code> * echo Snippet::get('snippetname'); * echo Snippet::get('snippetname', array('message' => 'Hello World')); * </code> * * @param string $name Snippet file name * @param string $vars Vars * @return string */ public static function get($name, $vars = array()) { $vars['get'] = $name; return Snippet::_content($vars); }