I have been trying to to my PhpStorm configured to auto complete. So far, I managed to make $this auto complete correctly in a view. However I am having problems getting it's sub classes to auto complete.
Currently I am using
/* @var $this \Zend\View\Renderer\PhpRenderer */
As you can see, $this->navigation does not contain menu(), however it does contain other method calls.