| 1 | <?php |
||
| 14 | class Swift_Mime_IdGenerator implements Swift_IdGenerator |
||
|
|
|||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param string $idRight |
||
| 18 | */ |
||
| 19 | public function __construct($idRight) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Returns the right-hand side of the "@" used in all generated IDs. |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getIdRight() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Sets the right-hand side of the "@" to use in all generated IDs. |
||
| 36 | * |
||
| 37 | * @param string $idRight |
||
| 38 | */ |
||
| 39 | public function setIdRight($idRight) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function generateId() |
||
| 53 | } |
||
| 54 |
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.