phpDocumentor/Reflection

Description of method-argument (@param)

horstoeko opened this issue · 0 comments

Hi,

I have the following situation: I have a Method declared with DocBlock in front:

    /**
     * This method performs some actions
     *
     * @param string   $param1  This is Argument 1
     * @param string   $param2  This is Argument 2
     * @return SomeObject
     */
    public function someMethod(string $param1, string $param2): SomeObject
    {
        ....
    }

How can I get information about descriptions of the individual arguments ("This is Argument 1",...)? Unfortunately, the "Argument" class does not offer any possibility.

Many thanks for the help and support.