| 1 | <?php |
||
| 26 | abstract class UPS implements PSI_Interface_UPS |
||
|
|
|||
| 27 | { |
||
| 28 | /** |
||
| 29 | * object for error handling |
||
| 30 | * |
||
| 31 | * @var Error |
||
| 32 | */ |
||
| 33 | public $error; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * main object for ups information |
||
| 37 | * |
||
| 38 | * @var UPSInfo |
||
| 39 | */ |
||
| 40 | protected $upsinfo; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * build the global Error object |
||
| 44 | */ |
||
| 45 | public function __construct() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * build and return the ups information |
||
| 53 | * |
||
| 54 | * @see PSI_Interface_UPS::getUPSInfo() |
||
| 55 | * |
||
| 56 | * @return UPSInfo |
||
| 57 | */ |
||
| 58 | final public function getUPSInfo() |
||
| 64 | } |
||
| 65 |
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.