Orpheus

FieldNotFoundException extends RuntimeException
in package

The field not found exception class

This exception is thrown when a field is not found in a set.

Table of Contents

Properties

$fieldName  : string
The field name
$source  : string|null
The source of the exception

Methods

__construct()  : mixed
Constructor
getFieldName()  : string
Get the field name
getSource()  : string|null
Get the source

Properties

Methods

__construct()

Constructor

public __construct(string $fieldName[, string|null $source = null ]) : mixed
Parameters
$fieldName : string

The name of the missing field.

$source : string|null = null

The source of the exception, optional. Default value is null.

getFieldName()

Get the field name

public getFieldName() : string
Return values
string

The field name.

getSource()

Get the source

public getSource() : string|null
Return values
string|null

The source of the exception.


							
On this page

Search results