repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge "Update searchdisabled message with docs and better link target"
[mediawiki.git]
/
tests
/
phpunit
/
data
/
exception
/
TestThrowerDummy.php
blob
df1dc415923ba2637ea24c0f4db7ba6f3fe7c280
1
<
?php
2
3
class
TestThrowerDummy
{
4
public function
main
() {
5
$this
->
doFoo
();
6
}
7
8
private function
doFoo
() {
9
$this
->
getBar
();
10
}
11
12
private function
getBar
() {
13
$this
->
getQuux
();
14
}
15
16
private function
getQuux
() {
17
throw new
Exception
(
'Quux failed'
);
18
}
19
20
public static function
getFile
():
string
{
21
return
__FILE__
;
22
}
23
}