| 1 | <?php |
||
| 7 | abstract class Yaml extends File implements EntityInterface |
||
| 8 | { |
||
| 9 | protected $extension = 'yml'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Transform the data to a string. |
||
| 13 | * |
||
| 14 | * @param array $data |
||
| 15 | * |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | protected function stringify(array $data) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Transform the string to an array. |
||
| 25 | * |
||
| 26 | * @param string $source |
||
| 27 | * |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | protected function parse($source) |
||
| 34 | } |
||
| 35 |