phpstorm phalcon service注册类的方法不能跳转

WBOY
Release: 2016-06-06 20:24:04
Original
1538 people have browsed it

这个代码是在service里面注册的

phpstorm phalcon service注册类的方法不能跳转

这里是在controller里面去调用

phpstorm phalcon service注册类的方法不能跳转
为什么cmd+b不能跳转。。。

请问大家有没遇到过这个问题。

回复内容:

这个代码是在service里面注册的

phpstorm phalcon service注册类的方法不能跳转

这里是在controller里面去调用

phpstorm phalcon service注册类的方法不能跳转
为什么cmd+b不能跳转。。。

请问大家有没遇到过这个问题。

在controller类上写文档注释

<code class="php"><?php use xxxx\Auth;
use Phalcon\Mvc\Controller;

/**
 * 
 * @property Auth $auth
 */
class ControllerBase extends Controller
{
}</code></code>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!