1 | <?php |
||
24 | class DuplicateTypeException extends RuntimeException |
||
25 | { |
||
26 | /** |
||
27 | * Creates an exception for a type name. |
||
28 | * |
||
29 | * @param string $typeName The name of the type. |
||
30 | * @param Exception|null $cause The exception that caused this exception. |
||
31 | * |
||
32 | * @return static The created exception. |
||
33 | */ |
||
34 | 5 | public static function forTypeName($typeName, Exception $cause = null) |
|
41 | } |
||
42 |