Throwable
PHP Manual

Throwable::getFile

(PHP 7)

Throwable::getFileGets the file in which the exception occurred

Description

abstract public string Throwable::getFile ( void )

Returns the name of the file from which the object was thrown.

Parameters

This function has no parameters.

Return Values

Returns the name of the file from which the object was thrown.

See Also


Throwable
PHP Manual