PHPdoc:记录可链接的方法?

Ind*_*ial 6 php oop documentation phpdoc

我应该如何正确使用PHPdoc来记录类中的可链接方法,如下例所示 - 正确的用法是什么?

class myClass {


    /**
    * @return myClass
    */
    function one()
    {
        return $this;
    }

    /**
    * @return self
    */
    function two()
    {
        return $this;
    }

    /**
    * @return $this
    */
    function three()
    {
        return $this;
    }

}
Run Code Online (Sandbox Code Playgroud)

yok*_*oko 6

/**
* @return myClass
*/
Run Code Online (Sandbox Code Playgroud)

我不是phpDoc专家,但他们是如何在Zend框架中做到的.所以我觉得它很可靠