<?php is_a(mixed $object_or_class, string $class, bool $allow_string = false): bool
<?php public function getExceptionMessage(Throwable $throwable): string { if (is_a($throwable->className(), FrameworkException::class, true)) { return $throwable->message(); }