Support the ongoing development of Laravel.io →
Configuration Packages
Last updated 2 years ago.
0

Did you add the phpdocs to your class?

/**
 * Make a person
 *
 * @return static
 * @static 
 */
 public static function make($name, $surname)
{
    return new static($name, $surname);
}
Last updated 2 years ago.
0

I don't add. Does phpdoc relation with ide helper?

Last updated 2 years ago.
0

The ide-helper generates a file based on the phpdocs from the core laravel classes. So yes, it uses phpdocs. But it doesn't do anything with your own classes, that is just plain autocomplete from phpStorm or whatever you are using. If you want to have autocompletion, provide correct phpdocs.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

yuomtheara yuomtheara Joined 12 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.