1 | <?php |
||
16 | class Swift_IoException extends Swift_SwiftException |
||
|
|||
17 | { |
||
18 | /** |
||
19 | * Create a new IoException with $message. |
||
20 | * |
||
21 | * @param string $message |
||
22 | * @param int $code |
||
23 | * @param Exception $previous |
||
24 | */ |
||
25 | 77 | public function __construct($message, $code = 0, Exception $previous = null) |
|
29 | } |
||
30 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.