-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Versions:
- ide-helper Version: 3.6.0
- Laravel Version: 12.28.1
- PHP Version: 8.4.12
Question:
I have a custom class that extends Carbon. For example:
namespace App\Services;
use Carbon\CarbonImmutable;
class Date extends CarbonImmutable
{
public function local(): self
{
return $this->setTimezone('America/Chicago')->locale('en_US');
}
}
I then instruct the Date facade to use this class when constructing new dates:
Date::useClass(App\Services\Date::class);
How can I help laravel-ide-helper generate docs for my custom class?