1: <?php
2:
3: namespace PHPixie\Template\Extensions;
4:
5: /**
6: * Extension interface
7: */
8: interface Extension
9: {
10: /**
11: * Extension name
12: * @return string
13: */
14: public function name();
15:
16: /**
17: * Map of methods that should be available in templates.
18: * @return array
19: */
20: public function methods();
21:
22: /**
23: * Map of method aliases
24: * @return array
25: */
26: public function aliases();
27: }