PHP Class Puli\Repository\Api\UnsupportedLanguageException

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

Public Methods

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

Method Details

forLanguage() public static method

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.
return static The created exception.