phpDocumentor / Reflection

Reflection library to do Static Analysis for PHP Projects
MIT License
117 stars 51 forks source link

Description of method-argument (@param) #342

Open horstoeko opened 1 year ago

horstoeko commented 1 year ago

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.