2021-01-07 23:28:32 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
class TestThrowerDummy {
|
|
|
|
|
public function main() {
|
|
|
|
|
$this->doFoo();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private function doFoo() {
|
|
|
|
|
$this->getBar();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private function getBar() {
|
|
|
|
|
$this->getQuux();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private function getQuux() {
|
|
|
|
|
throw new Exception( 'Quux failed' );
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-22 03:11:47 +00:00
|
|
|
public static function getFile(): string {
|
2021-01-07 23:28:32 +00:00
|
|
|
return __FILE__;
|
|
|
|
|
}
|
|
|
|
|
}
|