I need to use --flush option on my server when I clear doctrine cache. I added params (default false) that enable use of this option.
add use of flush option in doctrine:clear_* task
Could you add tests please?
Also I don't like the inlined condition.
Ok I'll change the code and add tests this evening
remove inline condition
add unit test for doctrine_clear_use_flush_option
I replace inline condition, sorry for poor refactoring, it's my first time in ruby.
I also added unit tests.