1: <?php
2:
3: namespace PHPixie\Config\Formats\Format;
4:
5: class PHP implements \PHPixie\Config\Formats\Format
6: {
7: public function read($file)
8: {
9: return require($file);
10: }
11:
12: public function write($file, $data)
13: {
14: file_put_contents($file, "<?php\r\nreturn ".var_export($data, true).";");
15: }
16: }
17: