Method | Description | |
---|---|---|
existsAlready ( string $name, Exception $cause = null ) : static | Creates an exception for a duplicate option. |
public static existsAlready ( string $name, Exception $cause = null ) : static | ||
$name | string | The option name. |
$cause | Exception | The exception that caused this exception. |
return | static | The created exception. |