File manager - Edit - /var/www/payraty/helpdesk/app/Console/Commands/RefreshGmailSubscription.php
Back
<?php namespace App\Console\Commands; use Common\Settings\Mail\GmailClient; use Illuminate\Console\Command; class RefreshGmailSubscription extends Command { protected $signature = 'gmail:refresh'; protected $description = 'Refresh Gmail pub/sub subscription.'; public function handle() { try { (new GmailClient())->watch(); } catch (\Exception $e) { $this->error($e->getMessage()); return parent::FAILURE; } $this->info('Gmail subscription refreshed.'); return parent::SUCCESS; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings