Page MenuHomePhabricator
Paste P1931

WMFExtensionsApplication.php
ActivePublic

Authored by epriestley on Jan 28 2016, 6:05 PM.
Tags
None
Referenced Files
F1079089: WMFExtensionsApplication.php
Jan 28 2016, 6:05 PM
Subscribers
None
<?php
final class WMFExtensionsApplication extends PhabricatorApplication {
public function getName() {
return pht('WMF Extensions');
}
public function getRoutes() {
return array(
'/wmf-extensions/' => array(
'lock-task/(?P<id>\d+)/' => 'WMFLockTaskController',
),
);
}
public function getEventListeners() {
return array(
new WMFLockTaskEventListener(),
);
}
}