Throwable::getFile
PHP function
Edit on GitHub ✎
(PHP 7, PHP 8)
Gets the file in which the object was created
Description
Throwable::getFile(): string
Get the name of the file in which the thrown object was created.
Parameters Parameters
Return Values
Returns the filename in which the thrown object was created.
See Also
Exception::getFile