[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/harbormaster/step/ -> HarbormasterThrowExceptionBuildStep.php (source)

   1  <?php
   2  
   3  final class HarbormasterThrowExceptionBuildStep
   4    extends HarbormasterBuildStepImplementation {
   5  
   6    public function getName() {
   7      return pht('Throw Exception');
   8    }
   9  
  10    public function getGenericDescription() {
  11      return pht('Throw an exception.');
  12    }
  13  
  14    public function execute(
  15      HarbormasterBuild $build,
  16      HarbormasterBuildTarget $build_target) {
  17  
  18      throw new Exception(pht('(This is an explicit exception.)'));
  19    }
  20  
  21  }


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