weixin_39898248
weixin_39898248
2020-11-30 04:53

improvments on getClass() method

I am targeting this branch, because the issue (loops in our phpcr admin) occurs on this branch.

Changelog

Markdown
### Changed
- Improvements on `AbstractAdmin::getClass()` method

Subject

I faced some loops in our phpcr admin imlementation casuse we used getClass() method in ourAbstractAdmin::getSubject()` implementation, cause getClass() calls getSubject() again. We had to solve our issue in our code, but here are some fixes to make the code consistent to the doc block information.

该提问来源于开源项目:sonata-project/SonataAdminBundle

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

12条回答