[php] [symfony] some bugfix and improve

symfony snippet `ent` now support abstract class
Merge pull request #282 from chrisyue/master

[php] [symfony] some bugfix and improve