« Throwable::getCode
Throwable::getLine »

Throwable::getFile

(PHP 7, PHP 8)

Throwable::getFile — オブジェクトが作られたファイル名を取得する

説明

public function Throwable::getFile(): string

スローされたオブジェクトが作られたファイル名を取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

スローされたオブジェクトが作られたファイル名を返します。

参考

関連キーワード:
Throwable   getFile   getCode   getLine   参考   Exception
関連する関数・ページ:
error.getfile   throwable.getprevious   throwable.getcode   class.throwable   exception.getfile   throwable.getline