1 | <?php |
||
9 | final class StreamException extends InvalidArgumentException |
||
10 | { |
||
11 | public const INVALID_CLASS = 1; |
||
12 | public const INVALID_DATA_SOURCE = 2; |
||
13 | public const INVALID_PORT = 3; |
||
14 | |||
15 | 1 | public static function invalidClass(string $spec): StreamException |
|
24 | |||
25 | 1 | public static function invalidDataSource(): StreamException |
|
32 | |||
33 | 3 | public static function invalidPortRange(int $minPort, int $maxPort): StreamException |
|
40 | } |
||
41 |