Memoize \Wvision\Bundle\DataDefinitionsBundle\Fetcher\ObjectsFetcher::getClassListing
dkarlovi opened this issue · 1 comments
dkarlovi commented
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | no |
Branch? | master |
Currently, the listing is constructed each time from scratch. Because Pimcore is swallowing exceptions, you can get a random "Class not found" exception in the middle of your export.
Since context cannot change during the run (not like the class will change), we should be able to safely just memoize the listing.