Chore: Verschiebe Git-Repository in das Hauptverzeichnis und richte .gitignore ein
This commit is contained in:
commit
96d0545193
502 files changed
+176027
No files matched your search
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
namespace HermannTelser\Gutachten\Utility;
|
||||
|
||||
class Message
|
||||
{
|
||||
// error
|
||||
|
||||
public static function error($filename, $linenumber, $message)
|
||||
{
|
||||
die(PHP_EOL.PHP_EOL.
|
||||
'-----------------------------------------------------------'.PHP_EOL.
|
||||
'DOKUMENT: '.$filename.PHP_EOL.
|
||||
'ZEILE: '.$linenumber.PHP_EOL.
|
||||
'FEHLER: '.$message.PHP_EOL.
|
||||
"\nVerarbeitung gestoppt !".PHP_EOL.
|
||||
'-----------------------------------------------------------'.PHP_EOL.
|
||||
PHP_EOL);
|
||||
}
|
||||
|
||||
// warning
|
||||
|
||||
public static function warning($filename, $linenumber, $message)
|
||||
{
|
||||
echo PHP_EOL.
|
||||
'-----------------------------------------------------------'.PHP_EOL.
|
||||
'DOKUMENT: '.$filename.PHP_EOL.
|
||||
'ZEILE: '.$linenumber.PHP_EOL.
|
||||
'WARNUNG: '.$message.PHP_EOL.
|
||||
'-----------------------------------------------------------'.PHP_EOL.
|
||||
PHP_EOL;
|
||||
}
|
||||
|
||||
public static function debug($filename, $linenumber, $message)
|
||||
{
|
||||
echo PHP_EOL.
|
||||
'-----------------------------------------------------------'.PHP_EOL.
|
||||
'doc: '.$filename.PHP_EOL.
|
||||
'line: '.$linenumber.PHP_EOL.
|
||||
'note: '.$message.PHP_EOL.
|
||||
'-----------------------------------------------------------'.PHP_EOL.
|
||||
PHP_EOL;
|
||||
}
|
||||
|
||||
// note
|
||||
|
||||
public static function note($message)
|
||||
{
|
||||
echo PHP_EOL.
|
||||
'-----------------------------------------------------------'.PHP_EOL.
|
||||
$message.PHP_EOL.
|
||||
'-----------------------------------------------------------'.PHP_EOL;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user