1: <?php
2:
3: namespace Charcoal\View\Mustache;
4:
5: /**
6: * Defines a collection of Mustache helpers.
7: *
8: * > An array of 'helpers'. Helpers can be global variables or objects, closures
9: * > (e.g. for higher order sections), or any other valid Mustache context value.
10: * > They will be prepended to the context stack, so they will be available in
11: * > any template loaded by this Mustache instance.
12: * — {@link https://github.com/bobthecow/mustache.php/wiki#helpers}
13: */
14: interface HelpersInterface
15: {
16: /**
17: * Get the collection of helpers as a plain array.
18: *
19: * @return array
20: */
21: public function toArray();
22: }
23: