|
...
|
...
|
@@ -37,7 +37,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $exception
|
|
|
|
* @param string $exception
|
|
|
|
*/
|
|
|
|
public function setException(string $exception): void
|
|
|
|
{
|
|
...
|
...
|
@@ -53,7 +53,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $message
|
|
|
|
* @param string $message
|
|
|
|
*/
|
|
|
|
public function setMessage(string $message): void
|
|
|
|
{
|
|
...
|
...
|
@@ -69,7 +69,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $code
|
|
|
|
* @param string $code
|
|
|
|
*/
|
|
|
|
public function setCode(string $code): void
|
|
|
|
{
|
|
...
|
...
|
@@ -85,7 +85,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $line
|
|
|
|
* @param string $line
|
|
|
|
*/
|
|
|
|
public function setLine(string $line): void
|
|
|
|
{
|
|
...
|
...
|
@@ -101,7 +101,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $file
|
|
|
|
* @param string $file
|
|
|
|
*/
|
|
|
|
public function setFile(string $file): void
|
|
|
|
{
|
|
...
|
...
|
@@ -117,7 +117,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param array $trace
|
|
|
|
* @param array $trace
|
|
|
|
*/
|
|
|
|
public function setTrace(array $trace): void
|
|
|
|
{
|
|
...
|
...
|
@@ -133,7 +133,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $path
|
|
|
|
* @param string $path
|
|
|
|
*/
|
|
|
|
public function setPath(string $path): void
|
|
|
|
{
|
|
...
|
...
|
@@ -149,7 +149,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $method
|
|
|
|
* @param string $method
|
|
|
|
*/
|
|
|
|
public function setMethod(string $method): void
|
|
|
|
{
|
|
...
|
...
|
@@ -165,7 +165,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param AgentInterface $agent
|
|
|
|
* @param AgentInterface $agent
|
|
|
|
*/
|
|
|
|
public function pushAgent(AgentInterface $agent): void
|
|
|
|
{
|
|
...
|
...
|
@@ -173,7 +173,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $ip
|
|
|
|
* @param string $ip
|
|
|
|
*/
|
|
|
|
public function setIp(string $ip): void
|
|
|
|
{
|
|
...
|
...
|
@@ -189,7 +189,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param array $input
|
|
|
|
* @param array $input
|
|
|
|
*/
|
|
|
|
public function setInput(array $input): void
|
|
|
|
{
|
|
...
|
...
|
@@ -205,7 +205,7 @@ class Context |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param array $extras
|
|
|
|
* @param array $extras
|
|
|
|
*/
|
|
|
|
public function setExtras(array $extras): void
|
|
|
|
{
|
|
...
|
...
|
@@ -227,8 +227,8 @@ class Context |
|
|
|
{
|
|
|
|
return [
|
|
|
|
'exception' => $this->exception, 'message' => $this->message, 'ip' => $this->ip, 'code' => $this->code,
|
|
|
|
'line' => $this->line, 'file' => $this->file, 'trace' => $this->trace, 'path' => $this->path,
|
|
|
|
'method' => $this->method, 'agents' => $this->agents, 'input' => $this->input
|
|
|
|
'line' => $this->line, 'file' => $this->file, 'trace' => $this->trace, 'path' => $this->path,
|
|
|
|
'method' => $this->method, 'agents' => $this->agents, 'input' => $this->input
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|