PHP Class Puli\Repository\Api\UnsupportedLanguageException

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends RuntimeExceptio\RuntimeException
Afficher le fichier Open project: puli/repository Class Usage Examples

Méthodes publiques

Méthode Description
forLanguage ( string $language, Exception $cause = null ) : static Creates an exception for an unsupported language string.

Method Details

forLanguage() public static méthode

Creates an exception for an unsupported language string.
public static forLanguage ( string $language, Exception $cause = null ) : static
$language string The unsupported language.
$cause Exception The exception that caused this exception.
Résultat static The created exception.