Created
January 19, 2022 16:09
-
-
Save michabbb/d8b260cdf58587d38b5e8c7708893196 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types=1); | |
class Mode_test_exception extends Mode_test { | |
public function exception(): void | |
{ | |
$this->throwerror($this->aConfig['error_reporting']['service']); | |
} | |
private function throwerror(array $params): void | |
{ | |
throw new RuntimeException('das ist nur ein test (subroutine)'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment