FileNotFoundException
extends RuntimeException
in package
Table of Contents
- byFilenameAndRevision() : self
- Thrown when a file cannot be found by its filename and revision.
- byId() : self
- Thrown when a file cannot be found by its ID.
Methods
byFilenameAndRevision()
Thrown when a file cannot be found by its filename and revision.
public
static byFilenameAndRevision(string $filename, int $revision, string $namespace) : self
Parameters
- $filename : string
-
Filename
- $revision : int
-
Revision
- $namespace : string
-
Namespace for the files collection
Return values
self —byId()
Thrown when a file cannot be found by its ID.
public
static byId(mixed $id, string $namespace) : self
Parameters
- $id : mixed
-
File ID
- $namespace : string
-
Namespace for the files collection