src/SimpleSoftwareIO/QrCode/DataTypes/WiFi.php
protected function buildWifiString()
    {
        $wifi = $this->prefix;

        if (isset($this->encryption)) {
            $wifi .= 'T:'.$this->encryption.$this->separator;
        }
        if (isset($this->ssid)) {
            $wifi .= 'S:'.$this->ssid.$this->separator;
        }
        if (isset($this->password)) {
            $wifi .= 'P:'.$this->password.$this->separator;
        }
        if (isset($this->hidden)) {
            $wifi .= 'H:'.$this->hidden.$this->separator;
        }

        return $wifi;
    }
protected function buildWifiString()
    {
        $wifi = $this->prefix;

        if (isset($this->encryption)) {
            $wifi .= 'T:'.$this->encryption.$this->separator;
        }
        if (isset($this->ssid)) {
            $wifi .= 'S:'.$this->ssid.$this->separator;
        }
        if (isset($this->password)) {
            $wifi .= 'P:'.$this->password.$this->separator;
        }
        if (isset($this->hidden)) {
            $wifi .= 'H:'.$this->hidden.$this->separator;
        }

        return $wifi;
    }
protected function buildWifiString ( ) { $ wifi = $ this -> prefix ; if ( isset ( $ this -> encryption ) ) { $ wifi .= 'T:' . $ this -> encryption . $ this -> separator ; } if ( isset ( $ this -> ssid ) ) { $ wifi .= 'S:' . $ this -> ssid . $ this -> separator ; } if ( isset ( $ this -> password ) ) { $ wifi .= 'P:' . $ this -> password . $ this -> separator ; } if ( isset ( $ this -> hidden ) ) { $ wifi .= 'H:' . $ this -> hidden . $ this -> separator ; } return $ wifi ; }
Builds the WiFi string.

@return string
Builds the WiFi string .