mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 (#580)
* Update Symfony lib to version ~6.4.0 * Update code missing return type * Add an iTop general configuration entry to store application secret (Symfony mandatory parameter) * Use dependency injection in ExceptionListener & UserProvider classes
This commit is contained in:
@@ -23,11 +23,15 @@ interface DebugLoggerInterface
|
||||
/**
|
||||
* Returns an array of logs.
|
||||
*
|
||||
* A log is an array with the following mandatory keys:
|
||||
* timestamp, message, priority, and priorityName.
|
||||
* It can also have an optional context key containing an array.
|
||||
*
|
||||
* @return array
|
||||
* @return array<array{
|
||||
* channel: ?string,
|
||||
* context: array<string, mixed>,
|
||||
* message: string,
|
||||
* priority: int,
|
||||
* priorityName: string,
|
||||
* timestamp: int,
|
||||
* timestamp_rfc3339: string,
|
||||
* }>
|
||||
*/
|
||||
public function getLogs(Request $request = null);
|
||||
|
||||
@@ -40,6 +44,8 @@ interface DebugLoggerInterface
|
||||
|
||||
/**
|
||||
* Removes all log records.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user