PHPDOC for custom facades

Posted 2 months ago

PHPDOC for custom facades #1247

Hello, I write class with custom logics of my laravel ap and make it as facade by this code code of my facade ` namespace App\Facades;

use Illuminate\Support\Facades\Facade;

class AppService extends Facade {

protected static function getFacadeAccessor(): string
    return 'App\Services\AppLogic';

} code of my service provider namespace App\Providers;

use App\Services\User; use Illuminate\Support\ServiceProvider;

class AppLogicServiceProvider extends ServiceProvider { /** * Register services. * * @return void */ public function register() { $this->app->bind(AppLogic::class); } } in config/app.php 'providers'=>[ ... \App\Providers\AppLogicServiceProvider::class ] ` methods of facade can be called as facade but I can't generate phpdocs for it. I run php artisan clear-compiled and php artisan ide-helper:generate but in _ide_helper.php class AppService not exists if i write AppService ::someMethodFromServiceLogic() it work

my question - how to generate phpdocs?