Differential D14011 Diff 33879 src/applications/webpush/application/PhabricatorWebpushApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/webpush/application/PhabricatorWebpushApplication.php
- This file was added.
| <?php | |||||
| final class PhabricatorWebpushApplication extends PhabricatorApplication { | |||||
| public function getName() { | |||||
| return pht('Web Push Notifications'); | |||||
| } | |||||
| public function getShortDescription() { | |||||
| return pht('Real-Time Web Push Updates and Alerts'); | |||||
| } | |||||
| public function getFontIcon() { | |||||
| return 'fa-bell'; | |||||
| } | |||||
| public function getRoutes() { | |||||
| return array( | |||||
| '/serviceworker.js' => 'PhabricatorServiceworkerController', | |||||
| '/manifest.json' => 'PhabricatorManifestController', | |||||
| ); | |||||
| } | |||||
| public function isLaunchable() { | |||||
| return false; | |||||
| } | |||||
| } |