/** * @return int */ private function _getOnlineStatus() { $connected = 1; if ($this->deviceRepo->getOnline()) { //dd("mother f****r"); ///We are online but may not be paired// $connected = 2; if ($surl = $this->_getSlideShowUrl()) { $connected = 3; } } else { $connected = 1; } return $connected; }