PocketMine-MP
5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
ErrorRecord.php
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
pocketmine\errorhandler;
6
7
final
class
ErrorRecord
{
8
10
private
$severity;
12
private
$message;
14
private
$file;
16
private
$line;
17
18
public
function
__construct(
int
$severity,
string
$message,
string
$file,
int
$line){
19
$this->severity = $severity;
20
$this->message = $message;
21
$this->file = $file;
22
$this->line = $line;
23
}
24
25
public
function
getSeverity() :
int
{
26
return
$this->severity;
27
}
28
29
public
function
getMessage() :
string
{
30
return
$this->message;
31
}
32
33
public
function
getFile() :
string
{
34
return
$this->file;
35
}
36
37
public
function
getLine() :
int
{
38
return
$this->line;
39
}
40
}
pocketmine\errorhandler\ErrorRecord
Definition
ErrorRecord.php:7
vendor
pocketmine
errorhandler
src
ErrorRecord.php
Generated by
1.12.0