public function __construct($receiver) { $this->_receiver = $receiver; $this->_user = Core_Integration_Sica_User::getUserData(); if (php_sapi_name() !== 'cli') { $this->_clientAddress = $_SERVER['REMOTE_ADDR']; $this->_serverAddress = $_SERVER['SERVER_ADDR']; } $this->_createDate = time(); $this->_lifeTime = time(); $this->_priority = null; }