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