| 1 | <?php |
||
| 26 | class UPSInfo |
||
|
|
|||
| 27 | { |
||
| 28 | /** |
||
| 29 | * array with upsdivices |
||
| 30 | * |
||
| 31 | * @see UPSDevice |
||
| 32 | * |
||
| 33 | * @var Array |
||
| 34 | */ |
||
| 35 | private $_upsDevices = array(); |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Returns $_upsDevices. |
||
| 39 | * |
||
| 40 | * @see UPSInfo::$_upsDevices |
||
| 41 | * |
||
| 42 | * @return Array |
||
| 43 | */ |
||
| 44 | public function getUpsDevices() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Sets $_upsDevices. |
||
| 51 | * |
||
| 52 | * @param UPSDevice $upsDevices upsdevice |
||
| 53 | * |
||
| 54 | * @see UPSInfo::$_upsDevices |
||
| 55 | * |
||
| 56 | * @return Void |
||
| 57 | */ |
||
| 58 | public function setUpsDevices($upsDevices) |
||
| 62 | } |
||
| 63 |
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.