Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250613) (4f61b2974b9)
MongoDB\GridFS\Exception\FileNotFoundException Class Reference
Inheritance diagram for MongoDB\GridFS\Exception\FileNotFoundException:
MongoDB\Exception\RuntimeException MongoDB\Exception\Exception

Static Public Member Functions

static byFilenameAndRevision (string $filename, int $revision, string $namespace)
 
static byId ($id, string $namespace)
 Thrown when a file cannot be found by its ID.
 

Member Function Documentation

◆ byId()

static MongoDB\GridFS\Exception\FileNotFoundException::byId ( $id,
string $namespace )
static

Thrown when a file cannot be found by its ID.

Parameters
mixed$idFile ID
string$namespaceNamespace for the files collection
Return values
self

The documentation for this class was generated from the following file: