I noticed that new versions of PhpStorm include this nice feature: http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata
That page explains how to deal with static method. However, in ZF2, I continually type things like:
$object = $this->getServiceLocator()->get('someFactoryName');
Is there a way to map someFactoryName to a class so autocomplete can work on $object in the metadata file?