Minor refactor for the previous commit
Minor refactor for the previous commit

yceruto/EasyAdminBundle,javiereguiluz/EasyAdminBundle,gabiudrescu/EasyAdminBundle,ogizanagi/EasyAdminBundle,yceruto/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,gabiudrescu/EasyAdminBundle,javiereguiluz/EasyAdminBundle,yceruto/EasyAdminBundle,OskarStark/EasyAdminBundle,ogizanagi/EasyAdminBundle,ogizanagi/EasyAdminBundle,ogizanagi/EasyAdminBundle,gabiudrescu/EasyAdminBundle