Page MenuHomec4science

PhabricatorSubscriptionsApplication.php
No OneTemporary

File Metadata

Created
Thu, Dec 5, 00:36

PhabricatorSubscriptionsApplication.php

<?php
final class PhabricatorSubscriptionsApplication extends PhabricatorApplication {
public function getName() {
return pht('Subscriptions');
}
public function isLaunchable() {
return false;
}
public function canUninstall() {
return false;
}
public function getEventListeners() {
return array(
new PhabricatorSubscriptionsUIEventListener(),
);
}
public function getRoutes() {
return array(
'/subscriptions/' => array(
'(?P<action>add|delete)/'.
'(?P<phid>[^/]+)/' => 'PhabricatorSubscriptionsEditController',
'list/(?P<phid>[^/]+)/' => 'PhabricatorSubscriptionsListController',
'transaction/(?P<type>add|rem)/(?<phid>[^/]+)/'
=> 'PhabricatorSubscriptionsTransactionController',
),
);
}
}

Event Timeline