ReflectionException Sınıfı

(PHP 5, PHP 7, PHP 8)

Giriş

ReflectionException sınıfı, yansıtma arayüzü tarafından oluşturulmuş olup standard Exception sınıfını genişletir.

Sınıf Sözdizimi

classReflectionExceptionextendsException {
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
publicException::__construct(string$message = "", int$code = 0, ?Throwable$previous = null)
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}
To Top