private function deviceDetect()
    {
        $this->mobile   = (int)$this->detector->isMobile();
        $this->tablet   = (int)$this->detector->isTablet();

        if ($this->mobile === 0 && $this->tablet === 0) {
            $this->pc = 1;
        }

        return $this;
    }
private function deviceDetect()
    {
        $this->mobile   = (int)$this->detector->isMobile();
        $this->tablet   = (int)$this->detector->isTablet();

        if ($this->mobile === 0 && $this->tablet === 0) {
            $this->pc = 1;
        }

        return $this;
    }
private function deviceDetect ( ) { $ this -> mobile = ( int ) $ this -> detector -> isMobile ( ) ; $ this -> tablet = ( int ) $ this -> detector -> isTablet ( ) ; if ( $ this -> mobile === 0 && $ this -> tablet === 0 ) { $ this -> pc = 1 ; } return $ this ; }
Detect client device

@return Visitor
Detect client device