public function ExceptionExample::bar in Coder 8.3
Same name and namespace in other branches
- 8.3.x tests/DrupalPractice/General/ExceptionTUnitTest.inc \ExceptionExample::bar()
File
- tests/
DrupalPractice/ General/ ExceptionTUnitTest.inc, line 9
Class
Code
public function bar() {
throw new Exception($this
->t('Error'));
}