[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/infrastructure/customfield/exception/ -> PhabricatorCustomFieldDataNotAvailableException.php (source)

   1  <?php
   2  
   3  final class PhabricatorCustomFieldDataNotAvailableException
   4    extends Exception {
   5  
   6    public function __construct(PhabricatorCustomField $field) {
   7      $key = $field->getFieldKey();
   8      $name = $field->getFieldName();
   9      $class = get_class($field);
  10  
  11      parent::__construct(
  12        "Custom field '{$name}' (with key '{$key}', of class '{$class}') is ".
  13        "attempting to access data which is not available in this context.");
  14    }
  15  
  16  }


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