v3.1: Adds entity interface lookup functionality.
Adds a method to find an entity class based on a given interface. This allows retrieving the entity class name that implements a specific interface, enhancing flexibility in handling entities. Also, increases the minimum PHP version requirement.