Hello all, I search a way to edit yml file without losing comment or php defined value ( like in settings.yml file )
i have make a task that can enabled/disable quickly modules in an app by editing settings.yml but using sfYaml::load and sfYaml::dump function generate a file without comment and replace something like error_reporting: <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged. by error_reporting: 8183 that is not good. we can't use regexp because yaml can use many way to write the same thing. did some one have an idea ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
