FileNotFoundException

class FileNotFoundException extends IOException

Exception class thrown when a file couldn't be found.

Methods

__construct($message = null, $code, Exception $previous = null, $path = null)
string getPath()

Returns the associated path for the exception.

from IOException

Details

__construct($message = null, $code, Exception $previous = null, $path = null)

Parameters

$message
$code
Exception $previous
$path

string getPath()

Returns the associated path for the exception.

Return Value

string The path.

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Filesystem/Exception/FileNotFoundException.html