I have hated that code completion for field names and relationships doesn't work in PHPStorm when using BeanFactory and while I have found a hundred "workarounds" over the years none have really been great. This one is pretty close. See the video to see…