PHP Class Exceptions\Collection\KeyNotFoundException
Be careful not to throw this exception when data from a data source cannot be found unless that data source is
specifically a collection/array like structure that lives in memory. When querying a filesystem, use the
filesystem exceptions, when querying a data source use the data exceptions, etc.
Exibir arquivo
Open project: crazycodr/standard-exceptions
Public Methods
Method |
Description |
|
__construct ( $message = 'Key not found in array/collection', $code, $previous = null ) |
|
|
Method Details
__construct()
public method
public __construct ( $message = 'Key not found in array/collection', $code, $previous = null ) |