refactor: improve logging system and add deployment fixes
- Enhance logging handlers (Console, DockerJson, File, JsonFile, MultiFile) - Improve exception and line formatters - Update logger initialization and processor management - Add Ansible playbooks for staging 502 error troubleshooting - Update deployment documentation - Fix serializer and queue components - Update error kernel and queued log handler
This commit is contained in:
@@ -25,8 +25,11 @@ final readonly class MethodInvoker
|
||||
/**
|
||||
* Führt eine Methode auf einer Klasse aus und löst alle Parameter automatisch auf
|
||||
*/
|
||||
public function invoke(ClassName $className, string $methodName, array $overrides = []): mixed
|
||||
public function invoke(ClassName|string $className, string $methodName, array $overrides = []): mixed
|
||||
{
|
||||
if(is_string($className)) {
|
||||
$className = ClassName::create($className);
|
||||
}
|
||||
$instance = $this->container->get($className->getFullyQualified());
|
||||
|
||||
return $this->invokeOn($instance, $methodName, $overrides);
|
||||
|
||||
Reference in New Issue
Block a user