Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Webmozart
KeyValueStore
Api
InvalidKeyException
PHP Class Webmozart\KeyValueStore\Api\InvalidKeyException
Since:
1.0
Author:
Bernhard Schussek (
[email protected]
)
Inheritance:
extends
RuntimeExceptio\RuntimeException
Show file
Open project: webmozart/key-value-store
Class Usage Examples
Public Methods
Method
Description
forKey
(
mixed
$key
,
Exception
$cause
= null ) :
static
Creates an exception for an invalid key.
Method Details
forKey()
public
static
method
Creates an exception for an invalid key.
public
static
forKey
(
mixed
$key
,
Exception
$cause
= null ) :
static
$key
mixed
The invalid key.
$cause
Exception
The exception that caused this exception.
return
static
The created exception.