Page MenuHomec4science

PhabricatorPolicyApplication.php
No OneTemporary

File Metadata

Created
Sat, Nov 9, 10:15

PhabricatorPolicyApplication.php

<?php
final class PhabricatorPolicyApplication extends PhabricatorApplication {
public function getName() {
return pht('Policy');
}
public function isLaunchable() {
return false;
}
public function canUninstall() {
return false;
}
public function getRoutes() {
return array(
'/policy/' => array(
'explain/(?P<phid>[^/]+)/(?P<capability>[^/]+)/'
=> 'PhabricatorPolicyExplainController',
'edit/'.
'(?:'.
'object/(?P<objectPHID>[^/]+)'.
'|'.
'type/(?P<objectType>[^/]+)'.
'|'.
'template/(?P<templateType>[^/]+)'.
')/'.
'(?:(?P<phid>[^/]+)/)?' => 'PhabricatorPolicyEditController',
),
);
}
}

Event Timeline