1: <?php
2:
3: namespace PHPixie\Template\Formats;
4:
5: /**
6: * Format interface
7: */
8: interface Format
9: {
10: /**
11: * Array of file extensions that this format supports
12: * @return array
13: */
14: public function handledExtensions();
15:
16: /**
17: * Compile a file into a PHP template
18: * @param string $file File name
19: * @return string
20: */
21: public function compile($file);
22: }