git commit -m 'Issue #3495789 by hamzadwaya: Use entityTypeManager from the constructor instead of accessing it directly on the class extractor submodule'
Closes #3495789