| 1 | <?php |
||
| 17 | class Mage_Log_Model_Visitor extends Zookal_Mock_Model_Mocks_Abstract |
||
|
|
|||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Constants are needed for Magento >= 1.1.7 |
||
| 21 | * Check here https://github.com/wlvrn/magento-community for all 72 releases of CE Magento |
||
| 22 | */ |
||
| 23 | const DEFAULT_ONLINE_MINUTES_INTERVAL = 15; |
||
| 24 | const VISITOR_TYPE_CUSTOMER = 'c'; |
||
| 25 | const VISITOR_TYPE_VISITOR = 'v'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return int |
||
| 29 | */ |
||
| 30 | public static function getOnlineMinutesInterval() |
||
| 34 | } |
||
| 35 |
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.