[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/infrastructure/management/ -> PhabricatorManagementWorkflow.php (source)

   1  <?php
   2  
   3  abstract class PhabricatorManagementWorkflow extends PhutilArgumentWorkflow {
   4  
   5    public function isExecutable() {
   6      return true;
   7    }
   8  
   9    public function getViewer() {
  10      // Some day, we might provide a more general viewer mechanism to scripts.
  11      // For now, workflows can call this method for convenience and future
  12      // flexibility.
  13      return PhabricatorUser::getOmnipotentUser();
  14    }
  15  
  16  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1