Using the `class-to-file `package it should be easy to use the `tolerant-php-parser` to get the FQN of any class reference and convert it to a file path.