[php] [symfony] some bugfix and improve

symfony snippet `ent` now support abstract class